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…

CVE-2026-47425: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in conda rattler

0
Medium
VulnerabilityCVE-2026-47425cvecve-2026-47425cwe-22cwe-73
Published: 07/21/2026 (07/21/2026, 17:47:40 UTC)
Source: CVE Database V5
Vendor/Project: conda
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

crates.iomore threats →ai
github/conda/rattler
pkg:cargo/github/conda/rattler
Affected versions
<0.43.2

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/21/2026, 18:27:27 UTC

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.

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

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 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