CVE-2026-23949
published high CVSS 3.1 · 8.6jaraco.context Has a Path Traversal Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jaraco | — | jaraco.context>= 5.2.0, < 6.1.0 | Affected | Not stated | GitHub_M |
| Ubuntu | questing | jaraco.context | Advisory build | 6.0.1-1ubuntu0.1 | USN-7979-1 |
| SUSE / openSUSE | SLE-15-SP7 | python313-setuptoolsnoarch | Advisory build | 72.1.0-150700.3.6.1 | SUSE-SU-2026:5223-1 |
| SUSE / openSUSE | SLE-16 | python313-jaraco.contextnoarch | Advisory build | 5.3.0-160000.3.1 | SUSE-SU-2026:20139-1 |
| SUSE / openSUSE | SLE-3-SP7 | python313-setuptoolsnoarch | Advisory build | 72.1.0-150700.3.6.1 | SUSE-SU-2026:5223-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-jaraco.contextnoarch | Advisory build | 5.3.0-160000.3.1 | OPENSUSE-SU-2026:20095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jaraco.contextaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jaraco.contextppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jaraco.contexts390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jaraco.contextx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-jaraco.contextaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-jaraco.contextppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-jaraco.contexts390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-jaraco.contextx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jaraco.contextaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jaraco.contextppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jaraco.contexts390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jaraco.contextx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10077-1 |
| Ubuntu | questing | python3-jaraco.context | Advisory build | 6.0.1-1ubuntu0.1 | USN-7979-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jaraco | jaraco.context | >= 5.2.0, < 6.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- https://github.com/jaraco/jaraco.context/blob/main/jaraco/context/__init__.py#L74-L91
- https://github.com/jaraco/jaraco.context/commit/7b26a42b525735e4085d2e994e13802ea339d5f9
- https://github.com/jaraco/jaraco.context/security/advisories/GHSA-58pv-8j8x-9vj2
- https://github.com/pypa/setuptools/blob/main/setuptools/_vendor/jaraco/context.py#L55-L76
Provider assertions
2GitHub_M · cna
jaraco.context Has a Path Traversal Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2f83a5ff7f9e77a5e6ee7cbc4093c4af4fc14651bca610a055bd1bc913f6b289
- Ingested
- 23 Sep 2026, 09:06:19 UTC
- Source record
- Official CVE record