CVE-2026-47425

Rattler vulnerable to entry-point path traversal in noarch:python install (arbitrary file write)

Published Jul 21, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

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 only trims 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 then 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 allows an attacker to place arbitrary files or overwrite executables in a user’s environment. The vulnerability maps to CWE‑22 (Path Traversal) and CWE‑73 (OS Command Injection).

Affected Systems

The vulnerability affects Rattler versions older than 0.43.2, including the py‑rattler, rattler, and rattler‑build libraries, as well as any tooling that uses the rattler install crate such as pixi and mamba’s conda‑supports. These components operate within the conda ecosystem and execute during package installation, meaning the flaw is present whenever a malicious noarch:python package is supplied to the installer.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity, while the EPSS score of less than 1% suggests a low probability of exploitation at present. The vulnerability is not listed in CISA’s KEV catalog. An attacker can gain exploitation capability by creating a malicious conda package and delivering it through a trusted or open channel. No special privileges are required beyond normal package installation rights, and the primary attack vector is a supply‑chain compromise that results in arbitrary file write or overwrite of executables in the target environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Rattler and all dependent packages (py‑rattler, rattler, rattler‑build, pixi, mamba) to version 0.43.2 or newer.
  • Restrict conda channel access to trusted repositories and consider disabling the execution of noarch:python entry points from unverified sources.
  • Continuously scan installed packages for entry‑point names containing path traversal characters and quarantine or remove anomalous files.

Generated by OpenCVE AI on July 30, 2026 at 16:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q53q-5r4j-5729 rattler has an entry-point path traversal in noarch:python install (arbitrary file write)
History
Type Values Removed Values Added
First Time appeared Conda
Conda py-rattler
Conda rattler
Conda rattler-build
Prefix-dev
Prefix-dev pixi
Vendors & Products Conda
Conda py-rattler
Conda rattler
Conda rattler-build
Prefix-dev
Prefix-dev pixi
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Rattler vulnerable to entry-point path traversal in noarch:python install (arbitrary file write)
Weaknesses CWE-22
CWE-73
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 23, 2026, 2:20 PM
Reserved
May 19, 2026, 7:37 PM
Status
Deferred
Published
Jul 21, 2026, 6:17 PM
Modified
Jul 23, 2026, 6:04 PM