{"answers":{"affected":"3 open source packages ship an affected version, including jaraco.context and jaraco-context. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23949 exists.","fix":"Upgrade jaraco.context to 6.1.0 or later.","what":"CVE-2026-23949 is a high-severity path traversal vulnerability in jaraco.context, published on 20 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-23949 and fix it if it is affected.\n\nWhat it is: CVE-2026-23949 is a high-severity path traversal vulnerability in jaraco.context, published on 20 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23949 exists.\n\nAffected packages and fixed versions:\n- jaraco.context (PyPI): affected from 5.2.0; fixed in 6.1.0\n- jaraco-context (PyPI): affected from 5.2.0; fixed in 6.1.0\n- jaraco-context (PyPI): affected from 5.2.0; fixed in 6.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-23949/ (Markdown: https://insights.sbomify.com/CVE-2026-23949/index.md)","id":"CVE-2026-23949","markdown":"https://insights.sbomify.com/CVE-2026-23949/index.md","name":"CVE-2026-23949","record":{"aliases":["CLEANSTART-2026-JO48164","CLEANSTART-2026-YQ75311","CLSA-2026-1772496730","DEBIAN-CVE-2026-23949","ECHO-4dea-2475-6d75","GHSA-58pv-8j8x-9vj2","MINI-472w-hwcg-5jr3","MINI-6f37-9jxj-g3jg","MINI-86w9-8p7j-49rm","MINI-gv35-wwc2-c5m6","MINI-j5fh-p289-wpqj","MINI-j67c-6q7q-ggwx","MINI-q8mh-rxv5-rp93","MINI-w25h-jcq3-xccw","PYSEC-2026-1469","ROOT-APP-PYPI-CVE-2026-23949","ROOT-APP-PYPI-GHSA-58pv-8j8x-9vj2","ROOT-OS-DEBIAN-13-CVE-2026-23949","SUSE-SU-2026:20139-1","UBUNTU-CVE-2026-23949","USN-7979-1","openSUSE-SU-2026:10077-1","openSUSE-SU-2026:20095-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python context library","requires_auth":"none","summary":"Attackers can extract files outside the intended directory via malicious tar archives in jaraco.context, potentially reading or modifying sensitive files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jaraco.context","vendor":"jaraco"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["PyPI","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"jaraco.context Has a Path Traversal Vulnerability","id":"CVE-2026-23949","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":7,"n_references":4,"next":{"headline":"node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS","id":"CVE-2026-23950"},"packages":[{"ecosystem":"PyPI","fixed":["6.1.0"],"introduced":["5.2.0"],"last_affected":[],"package":"jaraco-context","purl":"pkg:pypi/jaraco-context","source":"GHSA-58pv-8j8x-9vj2"},{"ecosystem":"PyPI","fixed":["6.1.0"],"introduced":["5.2.0"],"last_affected":[],"package":"jaraco-context","purl":"pkg:pypi/jaraco-context","source":"PYSEC-2026-1469"},{"ecosystem":"PyPI","fixed":["6.1.0"],"introduced":["5.2.0"],"last_affected":[],"package":"jaraco.context","purl":null,"source":"GHSA-58pv-8j8x-9vj2"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["5.3.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-jaraco.context","purl":"pkg:rpm/suse/python-jaraco.context\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20139-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["5.3.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-jaraco.context","purl":"pkg:rpm/suse/python-jaraco.context\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20139-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["5.3.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-jaraco.context","purl":"pkg:rpm/opensuse/python-jaraco.context\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20095-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.1.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-jaraco.context","purl":"pkg:rpm/opensuse/python-jaraco.context\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10077-1"}],"prev":{"headline":"FreeRDP has a NULL Pointer Dereference in rdp_write_logon_info_v2()","id":"CVE-2026-23948"},"products":["jaraco.context"],"published":"2026-01-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-20","vendors":["jaraco"]},"summary":"Attackers can extract files outside the intended directory via malicious tar archives in jaraco.context, potentially reading or modifying sensitive files.","url":"https://insights.sbomify.com/CVE-2026-23949/"}