Appsecure logo

CVE-2026-23949: High Vulnerability in jaraco jaraco.context

A high-severity Zip Slip path traversal vulnerability exists in jaraco.context affecting versions 5.2.0 to 6.1.0. Attackers can exploit this vulnerability to extract files outside the intended directory. Immediate patching is recommended.

HIGHCVSS 8.6 · Published January 20, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

The CVE-2026-23949 vulnerability is classified as a Zip Slip path traversal issue found in the jaraco.context library. This high-severity vulnerability, with a CVSS score of 8.6, affects versions 5.2.0 through 6.1.0 of the jaraco.context package. It allows attackers to exploit certain functions and potentially extract files outside of the designated extraction directory when processing malicious tar archives. The risk to organizations includes unauthorized access to sensitive files, making it imperative for users of this library to prioritize remediation.

The vulnerability stems from the `jaraco.context.tarball()` function, which fails to adequately filter paths. The strip_first_component filter, designed to parse paths, allows `../` sequences, leading to potential extraction of sensitive files via crafted tar archives. For example, paths like `dummy_dir/../../etc/passwd` can be resolved to `../../etc/passwd`, exposing critical system files.

Furthermore, this vulnerability is susceptible to nested tarball attacks. Attackers can craft multi-level tar files that, when processed, can also lead to file extraction outside intended directories. The risk amplifies due to these complexities, emphasizing the importance of swift patch application.

Version 6.1.0 of the jaraco.context package addresses this vulnerability. Organizations utilizing affected versions should prioritize upgrading to this patched version immediately to mitigate risk.

Given the potential impact of this vulnerability, organizations should assess their usage of the jaraco.context library and ensure that they are not running vulnerable versions. Failure to remediate could lead to significant security breaches.

Organizations should prioritize patching immediately.

The jaraco.context package, known for providing useful decorators and context managers, has been found to contain a Zip Slip path traversal vulnerability. The vulnerability is present in the `jaraco.context.tarball()` function from version 5.2.0 up to, but not including, version 6.1.0. Attackers can exploit this vulnerability to extract files outside of the intended directory when malicious tar archives are processed.

The CVSS score of 8.6 indicates a high severity level, suggesting that organizations must act swiftly to remediate this issue. The CWE classification for this vulnerability is CWE-22.

The root cause of this vulnerability lies in the improper handling of file paths within the `jaraco.context.tarball()` function. The implementation allows for path traversal through the use of `../` sequences, enabling attackers to specify paths that lead outside the intended extraction directory.

The attack vector is network-based, meaning that an attacker can exploit the vulnerability remotely by sending malicious tar archives. The complexity of the attack is considered low, as it does not require any special privileges or user interactions.

No privileges are required for exploitation, and user interaction is not necessary. The potential impact on confidentiality is high, as sensitive files can be accessed, while integrity and availability impacts are not applicable.

Organizations relying on the jaraco.context library face significant risks if they do not address this vulnerability. The potential for unauthorized access to sensitive files greatly increases the attack surface, particularly for applications that process user-uploaded tar files or tar archives from untrusted sources.

The blast radius for this vulnerability is concerning, as it may allow attackers to gain access to critical system files, which could lead to further exploitation or data breaches. Given the current security landscape, the urgency for patching is high, and organizations are advised to act promptly.

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

The vulnerable versions are from 5.2.0 to 6.1.0 of the jaraco.context package. Organizations using versions within this range should upgrade to version 6.1.0 or later to mitigate the risk associated with this vulnerability.

To remediate this vulnerability, organizations must upgrade to version 6.1.0 of the jaraco.context package. If immediate upgrading is not feasible, implementing strict controls on the processing of tar files can help mitigate the risk. Additionally, organizations should consider configuration hardening and conducting regular security testing to identify potential vulnerabilities.

For further assistance, organizations may explore our penetration testing services.

Organizations should monitor logs for any anomalies related to file extraction processes. Behavioral indicators that deviate from normal operations should be flagged for further investigation. Additionally, implementing network signatures to detect suspicious tar file uploads can help in identifying potential exploitation attempts.

The long-term significance of CVE-2026-23949 highlights the ongoing need for secure handling of file uploads. This vulnerability serves as a reminder of the potential dangers of file processing logic in applications. Security teams should take this incident as a lesson to implement best practices in their application security frameworks.

To further enhance security posture, organizations are encouraged to follow our penetration testing methodology and incorporate security assessments into their development lifecycle.

Moreover, reviewing our vulnerability management program can help organizations better prepare for and respond to future vulnerabilities.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.