Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish crafted repodata on malicious channel
-
DeliveryEmbed path traversal in package build string
-
ExploitSocial-engineer victim to add untrusted channel
-
ExecutionVictim installs package triggering cache write
-
Persistrattler_cache materializes files to attacker-controlled path
-
ImpactAttacker-chosen files written outside cache root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to explicitly add and use a malicious or untrusted conda channel that contains package metadata with path traversal sequences (e.g., '../', directory separators) embedded in the build field of a package record. This is a hard prerequisite: curated channels such as conda-forge and the official Anaconda channel validate package metadata and are not expected to permit such malformed build strings, so users restricted to those channels are not exposed. The CVSS UI:R metric reflects that the victim must actively initiate an install operation from the untrusted channel. The unchanged scope (S:U) confines the impact to files writable by the process running rattler_cache, typically the victim's own user account. There is no privilege escalation beyond what the cache-writing process already holds. |
| Impact | The CVSS 5.4 Medium score (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L) accurately reflects a moderate-risk, conditionally exploitable flaw. Attack complexity is low once a malicious channel is in place, and no attacker-side privileges are required. However, UI:R is a meaningful real-world brake: exploitation cannot occur without the victim actively configuring and using the malicious channel. Scope is unchanged (S:U) and there is no confidentiality impact, so the blast radius is limited to integrity and availability of files on the victim's local system. No EPSS score was provided, no CISA KEV listing exists, and no public POC has been identified - all consistent with a supply-chain-style flaw that requires social engineering rather than opportunistic scanning. The primary realistic risk is targeted attack via a lookalike or compromised community channel, not mass exploitation. Defenders using only validated channels (conda-forge, official Anaconda) face essentially no exposure. |
| Exploit ScenarioDerived | An attacker operates a malicious conda channel and crafts repodata JSON containing a package record whose build field includes path traversal sequences such as '../../sensitive_dir'. A user who adds this channel to their conda or pixi configuration and installs the crafted package causes rattler_cache to join the traversal string into the cache path, writing package contents to an attacker-chosen directory outside the cache root - potentially overwriting application configs, scripts, or other user-writable files. No public POC exists at time of analysis, but the technique is straightforward for any operator with channel publishing access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Path traversal in rattler_cache and py-rattler exposes the victim's filesystem to out-of-bounds file writes when package metadata from an untrusted conda channel contains path separators or directory traversal sequences in the build string. Users who install packages from a malicious channel trigger cache materialization logic that joins the unsanitized build string into a filesystem path, allowing package contents to land outside the configured cache directory. No public exploit has been identified and no CISA KEV listing exists; exploitation requires deliberate use of an untrusted channel (CVSS UI:R), meaningfully limiting real-world exposure.
RemediationAI
Upgrade rattler_cache and py-rattler to the patched version as documented in the GitHub Security Advisory GHSA-h672-p7h7-97v9 (https://github.com/conda/rattler/security/advisories/GHSA-h672-p7h7-97v9). Exact patched version numbers are not independently confirmed from available data - verify the specific target version against the advisory before deploying. As an immediate compensating control, restrict conda channel configuration exclusively to validated, curated sources such as conda-forge or the official Anaconda channel; this eliminates the attack surface entirely because curated channels are not expected to permit malformed build strings. Removing or disabling untrusted channels has no functional downside for users relying on standard package sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in cargo, pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
rattler_cache is a Rust crate (pkg:rust/rattler_cache) and py-rattler is its Python binding (pkg:pip/py_rattler), both part of the conda/rattler ecosystem used for resolving, fetching, and caching conda packages. During cache materialization, the code constructs a filesystem path by joining the package record's build string as a cache key component. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) applies directly: the build field is incorporated into the path without stripping path separator characters or traversal sequences such as '../', allowing an attacker-controlled string to escape the cache root. The vulnerability lives at the interface between conda channel repodata (JSON metadata served by a channel) and the local cache write logic, not in package archive extraction itself.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Network vector fits malicious channel delivery; PR:N for the attacker (channel operator); UI:R because victim must actively install from the untrusted channel; no confidentiality impact described.
Primary rating from Vendor (https://github.com/conda/rattler).
CVSS VectorVendor: https://github.com/conda/rattler
DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 3 pypi packages depend on py-rattler (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.24.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-75141
GHSA-h672-p7h7-97v9
NVD
CVE.org
EPSS
VulDB
Exploit-DB