Skip to content
Heist/ feed
Back to feed
HighFix available

jaraco.context, setuptools — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-23949

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.

Products
jaraco.context, setuptools
Affected versions
6.0.1-1, 78.1.1-0.1, 79.0.0-1, 80.1.0-1, 80.9.0-1, 80.9.0-2, 84.0.0-1, 84.0.0-2, 84.2.0-1
Fixed versions
6.0.1-1+deb13u1, 6.0.1-2, 84.0.0-2
CVEs
CVE-2026-23949
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:20 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-23949

core-osv · Original source

Published 20 Jan 2026, 01:15 UTC

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.

osv:DEBIAN-CVE-2026-23949

jaraco.context

Fixed versions: 6.0.1-1+deb13u1

jaraco.context

Fixed versions: 6.0.1-2

setuptools

Fixed versions: Not specified

setuptools

Fixed versions: 84.0.0-2

Complete source record
{
  "id": "0bfcc127ff8a21b6cc7c039ff61de41052885361e7b97933e22bcdcdc0827575",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-23949",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-23949",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-23949",
    "products": [
      {
        "name": {
          "value": "jaraco.context",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0.1-1+deb13u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "6.0.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jaraco.context",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0.1-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "6.0.1-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "setuptools",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "78.1.1-0.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "79.0.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "80.1.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "80.9.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "80.9.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "84.0.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "84.0.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "84.2.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "setuptools",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "84.0.0-2",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "78.1.1-0.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "79.0.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "80.1.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "80.9.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "80.9.0-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "84.0.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-23949",
      "aliases": [
        "DEBIAN-CVE-2026-23949"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0.1-1+deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "jaraco.context",
            "purl": "pkg:deb/debian/jaraco.context?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "6.0.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-23949.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0.1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "jaraco.context",
            "purl": "pkg:deb/debian/jaraco.context?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "6.0.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-23949.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "setuptools",
            "purl": "pkg:deb/debian/setuptools?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "78.1.1-0.1",
            "79.0.0-1",
            "80.1.0-1",
            "80.9.0-1",
            "80.9.0-2",
            "84.0.0-1",
            "84.0.0-2",
            "84.2.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-23949.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "84.0.0-2"
                }
              ]
            }
          ],
          "package": {
            "name": "setuptools",
            "purl": "pkg:deb/debian/setuptools?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "78.1.1-0.1",
            "79.0.0-1",
            "80.1.0-1",
            "80.9.0-1",
            "80.9.0-2",
            "84.0.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-23949.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-20T20:00:07.487896675Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-23949"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-23949"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-23949",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 390364,
  "published_at": "2026-01-20T01:15:57.723+00:00"
}