Skip to main content

rattler CVE-2026-47425

| EUVDEUVD-2026-46348 MEDIUM
Path Traversal (CWE-22)
2026-06-01 https://github.com/conda/rattler GHSA-q53q-5r4j-5729 PYSEC-2026-2971
6.9
CVSS 4.0 · Vendor: https://github.com/conda/rattler
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious noarch:python conda package
  2. Delivery
    Victim's pixi or rattler-build resolves package from channel
  3. Exploit
    rattler install crate parses crafted info/link.json entry-point
  4. Execution
    Unsanitized command field traverses outside install prefix
  5. Persist
    Attacker-controlled script written with executable permissions
  6. Impact
    Victim 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

pixi < 0.69.0
rattler < 0.43.2
rattler-build < 0.65.0
py-rattler < 0.24.0

Affected Packages

cargo py-rattler fix: 0.24.0
cargo rattler fix: 0.43.2
pypi py-rattler fix: 0.24.0
pypi rattler fix: 0.43.2
euvd pixi fix: 0.69.0
euvd py_rattler fix: 0.24.0
euvd rattler fix: 0.43.2
euvd rattler_build fix: 0.65.0

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

Vendor (https://github.com/conda/rattler) PRIMARY 6.9 MEDIUM
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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 21, 2026 - 18:22 NVD
6.9 (MEDIUM)

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

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy