Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-47425 EUVD-2026-46348GHSA-q53q-5r4j-5729PYSEC-2026-2971

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

Published Jul 21, 2026 · Updated Jul 23, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
conda rattler < 0.43.2 —
conda py-rattler < 0.24.0 —
conda rattler-build < 0.65.0 —
prefix-dev pixi < 0.69.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io rattler < 0.43.2 0.43.2 GHSA-q53q-5r4j-5729
PyPI py-rattler < 0.24.0 0.24.0 PYSEC-2026-2971

References