{"id":"CVE-2026-47425","aliases":["CVE-2026-47425","GHSA-q53q-5r4j-5729","PYSEC-2026-2971"],"related":[],"kind":"vulnerability","state":"published","title":"Rattler vulnerable to entry-point path traversal in noarch:python install (arbitrary file write)","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\n`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.\n\nResolved in https://github.com/conda/rattler/pull/2445, released in rattler 0.43.2.\n\n## Affected\n\n- Repository: https://github.com/conda/rattler\n- Commit: `a0e61a33da8b9d6de712fab2a879fa9da977e6e3` (HEAD at audit time, 2026-05-13 release)\n- Downstream consumers reached through the same code path: `prefix-dev/pixi` @ `e640477`\n- pixi 0.69.0 and rattler-build 0.65.0 fix this issue\n\n## Researcher\n\nBerkant Koc <me@berkoc.com>\nPGP: 0C588DFD76204987284213EA0AC529C41F8AA5D6","format":"markdown","source":"ghsa"}],"published":"2026-06-01T14:15:31.000Z","modified":"2026-07-23T18:04:31.947Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"version":"< 0.43.2","status":"affected"}],"vendor":"conda","product":"rattler","source":"cvelist"},{"ranges":[{"version":"< 0.24.0","status":"affected"}],"vendor":"conda","product":"py-rattler","source":"cvelist"},{"ranges":[{"version":"< 0.65.0","status":"affected"}],"vendor":"conda","product":"rattler-build","source":"cvelist"},{"ranges":[{"version":"< 0.69.0","status":"affected"}],"vendor":"prefix-dev","product":"pixi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.43.2"}],"ecosystem":"crates.io","package":"rattler","purl":"pkg:cargo/rattler","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"PyPI","package":"py-rattler","purl":"pkg:pypi/py-rattler","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"PyPI","package":"py-rattler","purl":"pkg:pypi/py-rattler","source":"pysec"}],"references":[{"url":"https://github.com/conda/rattler/security/advisories/GHSA-q53q-5r4j-5729","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/conda/rattler/commit/4f06eca89aa13209774d26dbac077c41b72bac7c","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/conda/rattler/pull/2445","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/conda/rattler","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/py-rattler","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-q53q-5r4j-5729","tags":["advisory"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47425","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-23T14:20:28.291Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47425","url":"https://www.cve.org/CVERecord?id=CVE-2026-47425","licence":"CVE Terms of Use","modified":"2026-07-23T14:20:36.413Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q53q-5r4j-5729","url":"https://github.com/advisories/GHSA-q53q-5r4j-5729","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:29.179Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47425","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47425","licence":"Public domain","modified":"2026-07-23T18:04:31.947Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2971","url":"https://osv.dev/vulnerability/PYSEC-2026-2971","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:07.504Z"}],"updatedAt":"2026-11-25T22:59:29.378Z","epss":{"score":0.00147,"percentile":0.04118,"date":"2026-12-01T12:00:22.000Z"}}