Skip to main content

CVE-2026-47425 — Vulnerability in rattler — CVE Details

MEDIUM

rattler has an entry-point path traversal in noarch:python install (arbitrary file write)

Published June 1, 2026Updated July 13, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.20%). Schedule for your next planned update.

Does your project use an affected rattler version?

Paste your Cargo.lock to check it for CVE-2026-47425 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Cargo.lock

Summary

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

Advisory Timeline

  • First published June 1, 2026 (178 days ago).
  • Last revised July 13, 2026 — 42 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update rattler to 0.43.2 or later
cargo update -p rattler --precise 0.43.2
pip
Update py-rattler to 0.24.0 or later
pip install "py-rattler>=0.24.0"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: crates.io (1), PyPI (1).

PackageFixed In
rattler crates.io · Affected: All versions0.43.2
py-rattler PyPI · Affected: 0.1.0, 0.1.1, 0.1.2, 0.10.0 (+32 more)0.24.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

Frequently Asked Questions

What is CVE-2026-47425?
rattler has an entry-point path traversal in noarch:python install (arbitrary file write). This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-47425?
CVE-2026-47425 affects rattler and py-rattler. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-47425 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.20%
EPSS percentile: 5.3

This is a below-median EPSS score — only 5.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-q53q-5r4j-5729
PYSEC-2026-2971

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock