CVE-2026-47425: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in conda rattler
A path traversal vulnerability (CWE-22) exists in conda's rattler library prior to version 0.43.2. The issue arises in the EntryPoint::FromStr function, which insufficiently sanitizes the command field, allowing malicious packages to write files outside the intended install prefix. This can lead to overwriting important executables with elevated permissions. Version 0.43.2 addresses this vulnerability.
AI Analysis
Technical Summary
The rattler library used in the conda ecosystem has a path traversal vulnerability in versions before 0.43.2. Specifically, the EntryPoint::FromStr function in rattler_conda_types only trims whitespace from the command field without properly sanitizing it. A malicious noarch:python package can craft an info/link.json entry-point name containing path traversal characters (e.g., '..', '/', '\', or absolute paths). This causes the installation process to write executable files outside the intended prefix directory or overwrite existing executables such as bin/pip. The vulnerability affects default install paths of pixi install, mamba install via py-rattler, rattler-build, and any other consumers of the rattler install crate. Version 0.43.2 contains a fix that prevents this issue.
Potential Impact
Successful exploitation allows an attacker to write or overwrite executable files outside the intended installation directory with mode 0o775 on Unix or as a copied launcher .exe on Windows. This can lead to arbitrary code execution or privilege escalation within the affected environment. The vulnerability does not require user interaction or privileges and can be triggered by installing a malicious package.
Mitigation Recommendations
Version 0.43.2 of rattler contains a fix for this vulnerability. Users and maintainers should upgrade to version 0.43.2 or later to remediate the issue. No additional flags or post-link script opt-ins are required. Patch status is not explicitly stated as 'official-fix' in the advisory, but the fixed version is clearly identified. Users should verify upgrade to >=0.43.2. No known exploits are reported in the wild at this time.
CVE-2026-47425: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in conda rattler
Description
A path traversal vulnerability (CWE-22) exists in conda's rattler library prior to version 0.43.2. The issue arises in the EntryPoint::FromStr function, which insufficiently sanitizes the command field, allowing malicious packages to write files outside the intended install prefix. This can lead to overwriting important executables with elevated permissions. Version 0.43.2 addresses this vulnerability.
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 rattler library used in the conda ecosystem has a path traversal vulnerability in versions before 0.43.2. Specifically, the EntryPoint::FromStr function in rattler_conda_types only trims whitespace from the command field without properly sanitizing it. A malicious noarch:python package can craft an info/link.json entry-point name containing path traversal characters (e.g., '..', '/', '\', or absolute paths). This causes the installation process to write executable files outside the intended prefix directory or overwrite existing executables such as bin/pip. The vulnerability affects default install paths of pixi install, mamba install via py-rattler, rattler-build, and any other consumers of the rattler install crate. Version 0.43.2 contains a fix that prevents this issue.
Potential Impact
Successful exploitation allows an attacker to write or overwrite executable files outside the intended installation directory with mode 0o775 on Unix or as a copied launcher .exe on Windows. This can lead to arbitrary code execution or privilege escalation within the affected environment. The vulnerability does not require user interaction or privileges and can be triggered by installing a malicious package.
Mitigation Recommendations
Version 0.43.2 of rattler contains a fix for this vulnerability. Users and maintainers should upgrade to version 0.43.2 or later to remediate the issue. No additional flags or post-link script opt-ins are required. Patch status is not explicitly stated as 'official-fix' in the advisory, but the fixed version is clearly identified. Users should verify upgrade to >=0.43.2. No known exploits are reported in the wild at this time.
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/30/2026, 05:17:10 UTC
Last updated: 09/04/2026, 16:48:32 UTC
Views: 60
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.