CVE-2026-47425: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in conda rattler
Rattler is a library that provides common functionality used within the conda ecosystem. Prior to version 0.43.2, `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`, `mamba install` via py-rattler, `rattler-build`, and any other consumer of the `rattler` install crate; no flag or post-link-script opt-in is involved. Version 0.43.2 contains a fix for the issue.
AI Analysis
Technical Summary
The conda rattler library's EntryPoint::FromStr function in rattler_conda_types prior to version 0.43.2 performs only a trim operation on the command field before concatenating it with the install prefix and writing an executable Python script. A malicious noarch:python package can craft an info/link.json entry-point name containing path traversal characters (e.g., '..', '/', '\', or absolute paths), causing the resulting file to be written outside the intended prefix directory or overwrite existing entry-points such as bin/pip. This vulnerability affects default install paths used by pixi install, mamba install via py-rattler, rattler-build, and other consumers of the rattler install crate. The issue is fixed in version 0.43.2.
Potential Impact
An attacker can create a malicious package that exploits this vulnerability to write files outside the intended installation directory, potentially overwriting critical executables or scripts. This could lead to arbitrary code execution or disruption of the conda environment. The CVSS 4.0 base score is 6.9 (medium severity), reflecting local attack vector, low complexity, no privileges required, no user interaction, but high impact on integrity.
Mitigation Recommendations
Upgrade to conda rattler version 0.43.2 or later, where this path traversal vulnerability is fixed. No other flags or post-link script options are required to mitigate this issue. Patch status is confirmed by the vendor stating the fix is included in version 0.43.2.
CVE-2026-47425: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in conda rattler
Description
Rattler is a library that provides common functionality used within the conda ecosystem. Prior to version 0.43.2, `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`, `mamba install` via py-rattler, `rattler-build`, and any other consumer of the `rattler` install crate; no flag or post-link-script opt-in is involved. Version 0.43.2 contains a fix for the issue.
CVSS v4.0
Score 6.9medium
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
The conda rattler library's EntryPoint::FromStr function in rattler_conda_types prior to version 0.43.2 performs only a trim operation on the command field before concatenating it with the install prefix and writing an executable Python script. A malicious noarch:python package can craft an info/link.json entry-point name containing path traversal characters (e.g., '..', '/', '\', or absolute paths), causing the resulting file to be written outside the intended prefix directory or overwrite existing entry-points such as bin/pip. This vulnerability affects default install paths used by pixi install, mamba install via py-rattler, rattler-build, and other consumers of the rattler install crate. The issue is fixed in version 0.43.2.
Potential Impact
An attacker can create a malicious package that exploits this vulnerability to write files outside the intended installation directory, potentially overwriting critical executables or scripts. This could lead to arbitrary code execution or disruption of the conda environment. The CVSS 4.0 base score is 6.9 (medium severity), reflecting local attack vector, low complexity, no privileges required, no user interaction, but high impact on integrity.
Mitigation Recommendations
Upgrade to conda rattler version 0.43.2 or later, where this path traversal vulnerability is fixed. No other flags or post-link script options are required to mitigate this issue. Patch status is confirmed by the vendor stating the fix is included in version 0.43.2.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T19:37:43.526Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fb6822a4a8d59898d5d9d
Added to database: 07/21/2026, 18:12:18 UTC
Last enriched: 07/21/2026, 18:27:27 UTC
Last updated: 07/21/2026, 21:10:54 UTC
Views: 5
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.