CVEfocus › CVE database › CVE-2026-23949

CVE-2026-23949jaraco.context Has a Path Traversal Vulnerability

CVSS 8.6 HighEPSS 0.6% (higher than 51% of CVEs)Published 2026-01-20Updated 2026-01-20Assigner: GitHub_M

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.

CWE-22

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10jaraco.contextFixed6.0.1-1ubuntu0.1UBUNTU-CVE-2026-23949
Ubuntu 24.04jaraco.contextNot affected
vulnerable_code_not_present
Debian 14jaraco.contextFixed6.0.1-2DEBIAN-CVE-2026-23949
Debian 14setuptoolsFixed84.0.0-2DEBIAN-CVE-2026-23949
Debian 13jaraco.contextFixed6.0.1-1+deb13u1DEBIAN-CVE-2026-23949
Debian 13setuptoolsFix pendingDEBIAN-CVE-2026-23949
PyPI libraryjaraco-contextFixed6.1.0GHSA-58pv-8j8x-9vj2

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.