GitHub Advisoryadvisory · crates.io, PyPI
GHSA-h672-p7h7-97v9 Rattler vulnerable to package cache path traversal via conda package build string
MEDIUM
Official page ↗
- Aliases
- CVE-2026-53956
- Ecosystem
- crates.io, PyPI
- Packages
- rattler_cache, py_rattler
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-22, CWE-73
- Reviewed
- 2026-07-09
Affected packages
• crates.io rattler_cache: < 0.9.0 → fixed in 0.9.0
• PyPI py_rattler: < 0.24.0 → fixed in 0.24.0
Description
`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.
Related
Alias · CVE (1)
- CVE-2026-53956 Rattler is a library that provides common functionality used within the conda ecosystem. vulnerability