GHSA-h672-p7h7-97v9: Rattler vulnerable to package cache path traversal via conda package build string
The rattler_cache and py-rattler packages are vulnerable to a path traversal issue in their package cache handling. This occurs when malicious or untrusted conda channels provide package metadata with specially crafted build strings containing path traversal characters. This can cause package contents to be written outside the intended cache directory. The vulnerability requires use of untrusted channels, as curated channels validate metadata to prevent such malformed build strings. Users should upgrade to patched versions and avoid untrusted channels.
AI Analysis
Technical Summary
rattler_cache and py-rattler handle package metadata from conda channels by using the package record's build string as part of a cache key that forms a filesystem path. If a malicious or untrusted channel publishes repodata with path separators or traversal components in the build string, it can lead to path traversal, allowing package contents to be written outside the configured package cache directory. This vulnerability is identified as CWE-22 and CWE-73 and affects versions prior to 0.9.0 for rattler_cache and prior to 0.24.0 for py-rattler. The issue requires interaction with untrusted conda channels, as curated channels are expected to prevent malformed build strings.
Potential Impact
The vulnerability allows an attacker controlling or influencing a conda channel to cause package contents to be written outside the intended cache directory on the user's filesystem. This can lead to integrity issues and potential denial of service by overwriting or placing files in unauthorized locations. There is no direct confidentiality impact reported. Exploitation requires user interaction with a malicious or untrusted channel. No known exploits are reported in the wild.
Mitigation Recommendations
Users should upgrade to versions 0.9.0 or later for rattler_cache and 0.24.0 or later for py-rattler where this issue is fixed. Additionally, users should avoid using untrusted or malicious conda channels, relying instead on curated channels that validate package metadata to prevent malformed build strings. Patch status is not explicitly confirmed in the provided data; users should verify the vendor advisory for official fixes.
GHSA-h672-p7h7-97v9: Rattler vulnerable to package cache path traversal via conda package build string
Description
The rattler_cache and py-rattler packages are vulnerable to a path traversal issue in their package cache handling. This occurs when malicious or untrusted conda channels provide package metadata with specially crafted build strings containing path traversal characters. This can cause package contents to be written outside the intended cache directory. The vulnerability requires use of untrusted channels, as curated channels validate metadata to prevent such malformed build strings. Users should upgrade to patched versions and avoid untrusted channels.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
rattler_cache and py-rattler handle package metadata from conda channels by using the package record's build string as part of a cache key that forms a filesystem path. If a malicious or untrusted channel publishes repodata with path separators or traversal components in the build string, it can lead to path traversal, allowing package contents to be written outside the configured package cache directory. This vulnerability is identified as CWE-22 and CWE-73 and affects versions prior to 0.9.0 for rattler_cache and prior to 0.24.0 for py-rattler. The issue requires interaction with untrusted conda channels, as curated channels are expected to prevent malformed build strings.
Potential Impact
The vulnerability allows an attacker controlling or influencing a conda channel to cause package contents to be written outside the intended cache directory on the user's filesystem. This can lead to integrity issues and potential denial of service by overwriting or placing files in unauthorized locations. There is no direct confidentiality impact reported. Exploitation requires user interaction with a malicious or untrusted channel. No known exploits are reported in the wild.
Mitigation Recommendations
Users should upgrade to versions 0.9.0 or later for rattler_cache and 0.24.0 or later for py-rattler where this issue is fixed. Additionally, users should avoid using untrusted or malicious conda channels, relying instead on curated channels that validate package metadata to prevent malformed build strings. Patch status is not explicitly confirmed in the provided data; users should verify the vendor advisory for official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h672-p7h7-97v9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53956"]
- Ecosystems
- ["crates.io","PyPI"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a50ba3c68715ace4357db21
Added to database: 07/10/2026, 09:24:12 UTC
Last enriched: 07/10/2026, 09:33:25 UTC
Last updated: 07/10/2026, 13:51:14 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.