{"answers":{"affected":"5 open source packages ship an affected version, including py-rattler, py_rattler and rattler_cache.","exploited":"There is no known exploitation of CVE-2026-53956 in the wild and no public exploit code.","fix":"Upgrade py-rattler to 0.24.0 or later.","what":"CVE-2026-53956 is a medium-severity path traversal vulnerability in conda py-rattler, published on 9 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-53956 and fix it if it is affected.\n\nWhat it is: CVE-2026-53956 is a medium-severity path traversal vulnerability in conda py-rattler, published on 9 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-53956 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- py-rattler (PyPI): affected all versions; fixed in 0.24.0\n- py-rattler (PyPI): affected all versions; fixed in 0.24.0\n- py_rattler (PyPI): affected all versions; fixed in 0.24.0\n- rattler_cache (crates.io): affected all versions; fixed in 0.9.0\n- rattler_cache (crates.io): affected all versions; fixed in 0.9.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-53956/ (Markdown: https://insights.sbomify.com/CVE-2026-53956/index.md)","id":"CVE-2026-53956","markdown":"https://insights.sbomify.com/CVE-2026-53956/index.md","name":"CVE-2026-53956","record":{"aliases":["GHSA-h672-p7h7-97v9","PYSEC-2026-2970"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Conda package library","requires_auth":"none","summary":"Attacker can write files outside cache directory via malicious conda channel metadata, potentially leading to code execution.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Rattler is a library that provides common functionality used within the conda ecosystem. `rattler_cache` prior to version 0.9.0 and `py-rattler` prior to version 0.24.0 were vulnerable to package-cache path traversal when handling package metadata from conda channels. During cache materialization, the `ratter_cache` code used the package record `build` string as part of a cache key that was joined into a filesystem path. A malicious or untrusted channel could publish repodata with path separators or traversal components in that field, causing package contents to be written outside the configured package cache directory. The issue requires use of a malicious or otherwise untrusted conda channel. Curated channels that validate package metadata are not expected to allow malformed build strings of this form. Users should upgrade to `rattler_cache` version 0.9.0 or `py-rattler` version 0.24.0 and avoid untrusted conda channels.","ecosystems":["PyPI","crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Rattler vulnerable to package cache path traversal via conda package build string","id":"CVE-2026-53956","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":5,"n_references":1,"next":{"headline":"Contentful MCP Server: export_space/import_space tools pass LLM-controlled `host`/`proxy` args to CMA client, redirecting server PAT to attacker-controlled endpoint","id":"CVE-2026-53957"},"packages":[{"ecosystem":"PyPI","fixed":["0.24.0"],"introduced":["0"],"last_affected":[],"package":"py-rattler","purl":"pkg:pypi/py-rattler","source":"GHSA-h672-p7h7-97v9"},{"ecosystem":"PyPI","fixed":["0.24.0"],"introduced":["0"],"last_affected":[],"package":"py-rattler","purl":"pkg:pypi/py-rattler","source":"PYSEC-2026-2970"},{"ecosystem":"PyPI","fixed":["0.24.0"],"introduced":["0"],"last_affected":[],"package":"py_rattler","purl":null,"source":"GHSA-h672-p7h7-97v9"},{"ecosystem":"crates.io","fixed":["0.9.0"],"introduced":["0"],"last_affected":[],"package":"rattler_cache","purl":null,"source":"GHSA-h672-p7h7-97v9"},{"ecosystem":"crates.io","fixed":["0.9.0"],"introduced":["0"],"last_affected":[],"package":"rattler_cache","purl":"pkg:cargo/rattler_cache","source":"GHSA-h672-p7h7-97v9"}],"prev":{"headline":"Bugsink: DOS using large numbers of event tags","id":"CVE-2026-53954"},"products":["py-rattler","rattler_cache"],"published":"2026-09-09","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["conda"]},"summary":"Attacker can write files outside cache directory via malicious conda channel metadata, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-53956/"}