Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-h672-p7h7-97v9: Rattler vulnerable to package cache path traversal via conda package build string

0
Medium
Published: 07/09/2026 (07/09/2026, 23:20:12 UTC)
Source: GCVE Database
Product: rattler_cache

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected software

crates.ioghsa
rattler_cache
Affected versions
<0.9.0
PyPIghsa
py_rattler
Affected versions
<0.24.0

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

AILast updated: 07/10/2026, 09:33:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses