CVE catalog

CVE-2026-23949

jaraco.context: CVE-2026-23949

[CVE catalog]

Severity
High · CVSS 8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.63% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansetuptoolssid84.2.0-1fixed
Debiansetuptoolsforky84.0.0-2fixed
Debiansetuptoolstrixie78.1.1-0.1vulnerable
Debiansetuptoolsbookworm66.1.1-1+deb12u2not affected
Debianjaraco.contextsid6.0.1-2fixed
Debianjaraco.contextforky6.0.1-2fixed
Debianjaraco.contexttrixie6.0.1-1+deb13u1fixed
Debianjaraco.contextbookworm4.2.0-1not affected
PyPIjaraco-contextNot reported6.1.0fixed
Opensusepython-jaraco.contextleap 16.05.3.0-160000.3.1fixed
Opensusepython-jaraco.contexttumbleweed6.1.0-1.1fixed
Susepython-jaraco.contextlinux enterprise server 16.05.3.0-160000.3.1fixed
Susepython-jaraco.contextlinux enterprise server for sap applications 16.05.3.0-160000.3.1fixed
Ubuntujaraco.context25.106.0.1-1vulnerable
Ubuntujaraco.context25.106.0.1-1ubuntu0.1fixed
Ubuntujaraco.context25.106.0.1-1vulnerable
Ubuntujaraco.context25.106.0.1-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansetuptoolssourcesid84.0.0-2not yet assignedNot reported[1126729]
Debiansetuptoolssourceforky84.0.0-2not yet assignedNot reported[1126729]
Debiansetuptoolssourcetrixie(unfixed)not yet assignedNot reported[1126729]
DebiansetuptoolssourcebookwormNot affectedunimportantNot reported[1126729]
Debianjaraco.contextsourcesid6.0.1-2not yet assignedNot reported[1126078]
Debianjaraco.contextsourceforky6.0.1-2not yet assignedNot reported[1126078]
Debianjaraco.contextsourcetrixie6.0.1-1+deb13u1not yet assignedNot reported[1126078]
Debianjaraco.contextsourcebookwormNot affectedunimportantNot reported[1126078]
PyPIjaraco-contextPyPINot reported6.1.0Not reportedGHSA-58PV-8J8X-9VJ2Not reported
Opensusepython-jaraco.contextrpmleap 16.05.3.0-160000.3.1Not reportedOPENSUSE-SU-2026:20095-1Not reported
Opensusepython-jaraco.contextrpmtumbleweed6.1.0-1.1Not reportedOPENSUSE-SU-2026:10077-1Not reported
Susepython-jaraco.contextrpmlinux enterprise server 16.05.3.0-160000.3.1Not reportedSUSE-SU-2026:20139-1Not reported
Susepython-jaraco.contextrpmlinux enterprise server for sap applications 16.05.3.0-160000.3.1Not reportedSUSE-SU-2026:20139-1Not reported
Ubuntujaraco.contextdeb25.106.0.1-1ubuntu0.1Not reportedUSN-7979-1Not reported
Ubuntujaraco.contextdeb25.106.0.1-1ubuntu0.1Not reportedUBUNTU-CVE-2026-23949Not reported

[Debian bug #1126729][Debian bug #1126078]

Notes

[trixie] setuptools: Minor issue

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • Source package: [setuptools]

    Details (2)
    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

  • Source package: [setuptools]

    Details (2)
    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

  • Source package: [setuptools]

    Details (2)
    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

  • Source package: [setuptools]

    Details (2)
    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

    • 78.1.1-0.1 · all · trixie

      Affected

      dsa · setuptools · debian · 13

  • Source package: [jaraco.context]

    Details (2)
    • 6.0.1-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.0.1-1+deb13u1

      dsa · jaraco.context · debian · 13

    • 6.0.1-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.0.1-1+deb13u1

      dsa · jaraco.context · debian · 13

[openSUSE Tumbleweed]

[Debian 12 (Bookworm)]

  • Source package: [jaraco.context]

    Details (2)
    • 4.2.0-1 · all · bookworm

      Not affected

      dsa · jaraco.context · debian · bookworm

    • 4.2.0-1 · all · bookworm

      Not affected

      dsa · jaraco.context · debian · bookworm

  • [python3-pkg-resources]Not affected

    Source package: [setuptools]

    Details (2)
    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

  • [python3-setuptools]Not affected

    Source package: [setuptools]

    Details (2)
    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

  • Source package: [setuptools]

    Details (2)
    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

  • [python-setuptools-doc]Not affected

    Source package: [setuptools]

    Details (2)
    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

    • 66.1.1-1+deb12u2 · all · bookworm

      Not affected

      dsa · setuptools · debian · bookworm

Observed:

References