# CVE-2026-53956: Rattler vulnerable to package cache path traversal via conda package build string

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-07-09T23:20:12.000Z
- Modified: 2026-09-10T15:53:23.707Z
- Also known as: GHSA-h672-p7h7-97v9, PYSEC-2026-2970
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- conda rattler_cache: < 0.9.0
- conda py-rattler: < 0.24.0
- rattler_cache (crates.io): before 0.9.0
- py-rattler (PyPI): before 0.24.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`

## References

- <https://github.com/conda/rattler/security/advisories/GHSA-h672-p7h7-97v9> (web)
- <https://github.com/conda/rattler> (package)
- <https://pypi.org/project/py-rattler> (package)
- <https://github.com/advisories/GHSA-h672-p7h7-97v9> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53956> (advisory)

## Sources

- CVE List: [CVE-2026-53956](https://www.cve.org/CVERecord?id=CVE-2026-53956), CVE Terms of Use, modified 2026-09-10
- GitHub Advisory Database: [GHSA-h672-p7h7-97v9](https://github.com/advisories/GHSA-h672-p7h7-97v9), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-53956](https://nvd.nist.gov/vuln/detail/CVE-2026-53956), Public domain, modified 2026-09-10
- PyPA Advisory Database: [PYSEC-2026-2970](https://osv.dev/vulnerability/PYSEC-2026-2970), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-53956 · Whole record: https://cve.day/CVE-2026-53956.json · Rebuilt by cve.day 2026-11-25T22:59:37.785Z
