CVE-2026-23949: jaraco.context Has a Path Traversal Vulnerability
Vulnerability summary
CVE-2026-23949 is a high (CVSS 8.6) vulnerability in jaraco jaraco.context. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 50.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 20-01-2026PublishedVulnerability first disclosed.
- 20-01-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- NVDNIST8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.62% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundJaraco.Context
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard77 products
- airflow-2< 2.11.0-r22
- airflow-3< 3.1.6-r2
- ansible-operator< 1.42.0-r6
- ansible-operator-fips< 1.42.0-r4
- apache-beam-python-3.11-sdk< 2.71.0-r0
Wolfi37 products
- airflow-3< 3.1.6-r2
- dask-kubernetes< 2025.7.0-r6
- datadog-agent-7.72< 7.72.4-r7
- datadog-agent-7.72-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.73< 7.73.3-r3
Debian2 products
- jaraco.context< 6.0.1-1+deb13u1 | < 6.0.1-2
- setuptoolsAll versions (No fix recorded) | < 84.0.0-2
Opensuse2 products
- python-jaraco.context&distro=openSUSE Leap 16.0< 5.3.0-160000.3.1
- python-jaraco.context&distro=openSUSE Tumbleweed< 6.1.0-1.1
Suse2 products
- python-jaraco.context&distro=SUSE Linux Enterprise Server 16.0< 5.3.0-160000.3.1
- python-jaraco.context&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 5.3.0-160000.3.1
Jaraco1 product
- jaraco.context≥ 5.2.0, < 6.1.0
PyPI1 product
- jaraco-context≥ 5.2.0, < 6.1.0
Ubuntu1 product
- jaraco.context< 6.0.1-1ubuntu0.1
8 vendors · 123 products
References
16 links- github.com/jaraco/jaraco.context/security/advisories/GHSA-58pv-8j8x-9vj2X Refsource CONFIRMWEBREPORTAdvisoryExploitMitigationVendor Advisory
- github.com/jaraco/jaraco.context/commit/7b26a42b525735e4085d2e994e13802ea339d5f9X Refsource MISCWEBFIXPatch
- github.com/pypa/setuptools/blob/main/setuptools/_vendor/jaraco/context.pyX Refsource MISCWEBREPORTPatch