CVE-2026-47425
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| conda | rattler | < 0.43.2 | affected |
| conda | py-rattler | < 0.24.0 | affected |
| conda | rattler-build | < 0.65.0 | affected |
| prefix-dev | pixi | < 0.69.0 | affected |
Weaknesses
- CWE-22: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-73: CWE-73: External Control of File Name or Path
References
- https://github.com/conda/rattler/security/advisories/GHSA-q53q-5r4j-5729
- https://github.com/conda/rattler/commit/4f06eca89aa13209774d26dbac077c41b72bac7c
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.