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.
Published: 2026-07-21
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Thu, 23 Jul 2026 21:45:00 +0000

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

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 21 Jul 2026 18:15:00 +0000

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


Subscriptions

Conda Py-rattler Rattler Rattler-build
Prefix-dev Pixi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-23T14:20:36.413Z

Reserved: 2026-05-19T19:37:43.526Z

Link: CVE-2026-47425

cve-icon Vulnrichment

Updated: 2026-07-23T14:20:31.764Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:00:07Z

Weaknesses
  • CWE-22

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

  • CWE-73

    External Control of File Name or Path