{"id":"CVE-2026-53956","published":"2026-09-09T20:47:26Z","modified":"2026-09-10T13:50:58Z","title":"Rattler vulnerable to package cache path traversal via conda package build string","vendor":"conda","product":"rattler_cache","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0033,"percentile":0.18591,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/conda/rattler/security/advisories/GHSA-h672-p7h7-97v9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.72},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"conda","affectedVersions":[{"vendor":"conda","product":"rattler_cache","versions":["< 0.9.0"]},{"vendor":"conda","product":"py-rattler","versions":["< 0.24.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-10T13:50:50.765651Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"rattler_cache","vulnerableRanges":["<0.9.0"],"patched":["0.9.0"],"from":["GHSA-h672-p7h7-97v9"],"provenance":"source"},{"ecosystem":"PyPI","package":"py_rattler","vulnerableRanges":["<0.24.0"],"patched":["0.24.0"],"from":["GHSA-h672-p7h7-97v9","PYSEC-2026-2970"],"provenance":"source"}],"summary":{"text":"Rattler's rattler_cache component (before 0.9.0) and py-rattler (before 0.24.0) fail to sanitise the package record build string when building package-cache keys, so a crafted value can introduce path traversal into filesystem paths during cache materialization. An attacker who can get a user to fetch from a malicious or untrusted conda channel, which requires user interaction and nothing more, can cause package contents to be written outside the configured package cache directory; curated channels that validate metadata are not expected to be affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:20Z"},"euvd":{"id":"EUVD-2026-75141","exploited":false,"provenance":"source"}}