Medium, CVSS 5.4crates.ioAmendedPublished
Rattler vulnerable to package cache path traversal via conda package build string
CVE-2026-53956 · GHSA-h672-p7h7-97v9
- Affected
- crates.io rattler_cache <= 0.8.2
- Fixed in
- 0.9.0· Vendor fix available
- Issue
- 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. 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.
Recommended action: Upgrade to 0.9.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.