CVE-2026-23949
January 20, 2026
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 Packages
https://github.com/jaraco/jaraco.context.git (GITHUB):
Affected version(s) >=v3.0.0 <v6.1.0Fix Suggestion:
Update to version v6.1.0jaraco.context (PYTHON):
Affected version(s) >=1.0 <6.1.0Fix Suggestion:
Update to version 6.1.0jaraco.context (PYTHON):
Affected version(s) >=5.2.0 <6.1.0Fix Suggestion:
Update to version 6.1.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.09