Skip to content
OpenAdvisories

Description

jaraco.context, an open-source software package that provides some useful decorators and context managers, has a Zip Slip path traversal vulnerability in the `jaraco.context.tarball()` function starting in version 5.2.0 and prior to version 6.1.0. The vulnerability may allow attackers to extract files outside the intended extraction directory when malicious tar archives are processed. The strip_first_component filter splits the path on the first `/` and extracts the second component, while allowing `../` sequences. Paths like `dummy_dir/../../etc/passwd` become `../../etc/passwd`. Note that this suffers from a nested tarball attack as well with multi-level tar files such as `dummy_dir/inner.tar.gz`, where the inner.tar.gz includes a traversal `dummy_dir/../../config/.env` that also gets translated to `../../config/.env`. Version 6.1.0 contains a patch for the issue.

Affected products

VendorProductAffectedFixed
jaraco jaraco.context >= 5.2.0, < 6.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jaraco.context 6.0.1-2 —
Debian 14 setuptools 84.0.0-2 —
Debian 13 jaraco.context 6.0.1-1+deb13u1 —
Debian 13 setuptools No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 jaraco.context 6.0.1-1ubuntu0.1 USN-7979-1
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-jaraco.context 5.3.0-160000.3.1 SUSE-SU-2026:20139-1
SLES 16.0 python-jaraco.context 5.3.0-160000.3.1 SUSE-SU-2026:20139-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-jaraco.context 6.1.0-1.1 openSUSE-SU-2026:10077-1
openSUSE Leap 16.0 python-jaraco.context 5.3.0-160000.3.1 openSUSE-SU-2026:20095-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.1.6-r2 —
Wolfi rolling dask-kubernetes 2025.7.0-r6 —
Wolfi rolling datadog-agent-7.72 7.72.4-r7 —
Wolfi rolling datadog-agent-7.72-core-integrations No fix yet —
Wolfi rolling datadog-agent-7.73 7.73.3-r3 —
Wolfi rolling datadog-agent-7.73-core-integrations 7.73.3-r23 —
Wolfi rolling datadog-agent-7.79-core-integrations 7.79.2-r9 —
Wolfi rolling datadog-agent-7.80 +1 7.80.4-r10 —
Wolfi rolling katib-earlystopping +6 0.19.0-r4 —
Wolfi rolling kserve-storage-controller 0.16.0-r11 —
Wolfi rolling kubeflow-jupyter-web-app 1.10.0-r10 —
Wolfi rolling open-webui 0.7.2-r1 —
Wolfi rolling py3-cassandra-medusa 0.27.0-r2 —
Wolfi rolling py3-semgrep 1.149.0-r0 —
Wolfi rolling py3.10-ambassador +3 3.10.0-r19 —
Wolfi rolling py3.10-setuptools +4 80.10.1-r0 —
Wolfi rolling pypy-3.10 7.3.19-r14 —
Wolfi rolling pypy-3.11 7.3.20-r5 —
Wolfi rolling superset-6.0 6.0.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jaraco-context >= 5.2.0, < 6.1.0 6.1.0 GHSA-58pv-8j8x-9vj2

Advisories 6

References