jaraco.context Has a Path Traversal Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jaraco | jaraco.context | 5.2.0 to before 6.1.0 | 6.1.0 | Patch available | CNA |
| — | jaraco.context (PyPI) | 5.2.0 to before 6.1.0 | 6.1.0 | Patch available | GHSA-58pv-8j8x-9vj2 |
- jaraco.context Vendorjaraco Affected 5.2.0 to before 6.1.0 Fixed in 6.1.0 Patch available CNA
- jaraco.context (PyPI) Vendor— Affected 5.2.0 to before 6.1.0 Fixed in 6.1.0 Patch available GHSA-58pv-8j8x-9vj2
Remediation
- Fix · CNA jaraco.context (jaraco) Fixed in 6.1.0
- Fix · GHSA-58pv-8j8x-9vj2 jaraco.context (PyPI) Fixed in 6.1.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-23949
- 2026-10-03 Alias added: GHSA-58pv-8j8x-9vj2
- 2026-10-27 EPSS moved to the 50th–90th percentile
References
Patch 3
Sources
- CVE-2026-23949 · CVE Program
- CVE-2026-23949 · NVD
- FIRST EPSS
- GHSA-58pv-8j8x-9vj2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-23949 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences