Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious noarch:python conda package
-
DeliveryVictim's pixi or rattler-build resolves package from channel
-
Exploitrattler install crate parses crafted info/link.json entry-point
-
ExecutionUnsanitized command field traverses outside install prefix
-
PersistAttacker-controlled script written with executable permissions
-
ImpactVictim invokes overwritten binary and executes attacker payload
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 | The victim must install a conda noarch:python package whose info/link.json entry-points block contains a command field with path traversal characters - specifically .., /, \, or an absolute path - in the entry-point name. No special rattler configuration, environment flag, or post-link-script opt-in is required; the vulnerable code path is exercised by the default installation flow of all affected versions. Exploitation is limited by the supply-chain delivery requirement: the attacker must place the malicious package in a conda channel that the victim's pixi, rattler-build, or py-rattler installation is configured to consume. Environments that pin package sources to audited, signed channels are harder to exploit. Authentication requirements cannot be stated from CVSS (no vector provided), but the conda package install itself requires no authentication to the rattler library - only the channel access controls apply. |
| Impact | No CVSS vector was provided for this CVE, so quantitative scoring metrics (attack vector, complexity, privileges required, scope) cannot be cited directly. From the advisory description, the attack requires delivering a malicious conda package to the victim - a supply-chain attack vector - which implies network reachability is indirect but realistic, particularly in CI/CD pipelines where pixi install runs automatically against external channels. No EPSS score is available, and the vulnerability is not in CISA KEV, indicating no confirmed active exploitation at time of analysis. However, the impact class - arbitrary file write with executable permissions outside the install prefix - is effectively equivalent to unauthenticated code execution on the victim's filesystem once the written file is invoked. The risk is elevated for automated build environments that consume unvetted conda channels, where package installation is unsupervised. The lack of any required configuration opt-in means all default deployments of the affected versions are in scope. The principal limiting factor is the supply-chain delivery requirement: the attacker must get a malicious package into a channel the victim trusts. |
| Exploit ScenarioDerived | An attacker publishes a malicious noarch:python conda package to a public or private channel, with an info/link.json containing an entry-point whose command field is set to ../../bin/pip or another path traversal sequence. When a developer or CI pipeline runs pixi install or rattler-build with this package included in the environment, rattler writes an attacker-controlled Python script to the resolved path (e.g., overwriting the real bin/pip) with mode 0o775. The next time any user or automated process invokes pip in that environment, the attacker's script executes with the victim's privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Arbitrary file write via path traversal in rattler's noarch:python entry-point installer allows a malicious conda package to write executable files outside the install prefix on both Unix and Windows. Any user of rattler < 0.43.2, pixi < 0.69.0, or rattler-build < 0.65.0 who installs a crafted noarch:python package is affected - no special configuration or flag opt-in is required. The attacker-controlled file is written with mode 0o775 on Unix or as a copied launcher .exe on Windows, enabling code execution when the entry-point is subsequently invoked. No public exploit code is identified at time of analysis, and the vulnerability is not listed in CISA KEV.
RemediationAI
Upgrade to rattler 0.43.2 or later, which contains the fix from PR #2445 (https://github.com/conda/rattler/pull/2445). Downstream users should upgrade pixi to 0.69.0 or later and rattler-build to 0.65.0 or later - both releases incorporate the patched rattler crate. As a compensating control prior to patching, restrict conda package sources to trusted, audited channels with package signing enabled, and audit info/link.json entry-point command fields in any noarch:python packages before installation. Blocking installation from anonymous or untrusted channels reduces the supply-chain attack surface significantly, though with the trade-off of reduced package availability. There is no known runtime flag or configuration setting that disables the vulnerable code path - the fix must be applied at the library level.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 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
The affected code path is EntryPoint::FromStr in the rattler_conda_types Rust crate, which applies only .trim() sanitization to the command field parsed from a conda package's info/link.json. The install crate's create_unix_python_entry_point and create_windows_python_entry_point functions then construct the output path by calling python_info.bin_dir.join(&entry_point.command) and joining that result onto the install prefix. Rust's std::path::Path::join silently replaces the entire accumulated path when given an absolute right-hand side, and preserves .. components literally without normalization - meaning a crafted command value such as ../../bin/pip or /etc/cron.d/evil will resolve outside the intended prefix boundary. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) precisely characterizes this root cause: the code constructs a filesystem path from untrusted input without canonicalization or prefix-containment verification. The fix in PR #2445 introduces a ValidatedRelativePath newtype that rejects absolute paths, drive/root components, and any .. that would pop above the prefix before any file is written, enforcing the invariant at the type level so the compiler rejects unvalidated paths.
Know when Python gets its next vulnerability
- 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (https://github.com/conda/rattler) · only source for this CVE.
CVSS VectorVendor: https://github.com/conda/rattler
Lifecycle Timeline
1DescriptionCVE.org
Summary
EntryPoint::FromStr in rattler_conda_types performs only .trim() on the command field before the linker joins it onto the install prefix and writes an executable Python script. A malicious noarch:python package can ship an info/link.json with an entry-point name containing .., /, \, or an absolute path; the resulting file is written outside the prefix (or clobbers an existing in-prefix entry-point such as bin/pip) with mode 0o775 on Unix and a copied launcher .exe on Windows. This affects the default install path of pixi install, rattler-build, some methods in py-rattler, and any other consumer of the rattler install crate; no flag or post-link-script opt-in is involved.
Resolved in https://github.com/conda/rattler/pull/2445, released in rattler 0.43.2.
Affected
- Repository: https://github.com/conda/rattler
- Commit:
a0e61a33da8b9d6de712fab2a879fa9da977e6e3(HEAD at audit time, 2026-05-13 release) - Downstream consumers reached through the same code path:
prefix-dev/pixi@e640477 - pixi 0.69.0 and rattler-build 0.65.0 fix this issue
Researcher
Berkant Koc <me@berkoc.com> PGP: 0C588DFD76204987284213EA0AC529C41F8AA5D6
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-46348
GHSA-q53q-5r4j-5729
NVD
CVE.org
EPSS
Exploit-DB