rattler_cache
Affected
- introduced
0, fixed0.9.0(semver)
Fixed versions
0.9.0
Fix
- Fixed version
0.9.0cargo update -p rattler_cache --precise 0.9.0
Advisory
Also known as: CVE-2026-53956, PYSEC-2026-2970
Rattler vulnerable to package cache path traversal via conda package build string
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.
Medium Basis: The source's own band: MODERATE
0, fixed 0.9.0 (semver)0.9.0
0.9.0cargo update -p rattler_cache --precise 0.9.00, fixed 0.24.0 (ecosystem)0.24.0
0.24.0pip install --upgrade py-rattler==0.24.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0