Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. py-rattler
  4. ›
  5. CVE-2026-47425

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

June 1, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-q53q-5r4j-5729
  • github.com/conda/rattler/pull/2445
  • github.com/conda/rattler/security/advisories/GHSA-q53q-5r4j-5729
  • nvd.nist.gov/vuln/detail/CVE-2026-47425

Code Behaviors & Features

Detect and mitigate CVE-2026-47425 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.24.0

Fixed versions

  • 0.24.0

Solution

Upgrade to version 0.24.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

pypi/py-rattler/CVE-2026-47425.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:15 +0000.