CVE-2026-53956: Rattler vulnerable to package cache path traversal via conda package build string
rattlercache and py-rattler were vulnerable to package-cache path traversal when handling package metadata from conda channels. During cache materialization, the rattercache code used the package record build string as part of a cache key that was joined into a filesystem path.
Published Jul 9, 2026
Affected packages
rattler_cache
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.8.2
- Fixed in
- 0.9.0
- Check
cargo tree -i rattler_cache
py_rattler
- Ecosystem
- PyPI
- Affected
- <= 0.23.2
- Fixed in
- 0.24.0
- Check
pip show py_rattler
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
rattler_cache and py-rattler 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 a patched version and avoid untrusted conda channels.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
