What’s Vulnerable › Vulnerabilities
CVE-2025-32799: Conda-build Vulnerable to Path Traversal via Malicious Tar File
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-06-16 · updated 2026-06-17
- Weakness: CWE-22
Description
Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build processing logic is vulnerable to path traversal (Tarslip) attacks due to improper sanitization of tar entry paths. Attackers can craft tar archives containing entries with directory traversal sequences to write files outside the intended extraction directory. This could lead to arbitrary file overwrites, privilege escalation, or code execution if sensitive locations are targeted. This issue has been patched in version 25.4.0.
Affected products
- conda-build: before 25.4.0 — fixed in 25.4.0
How to fix
Upgrade to a fixed version: conda-build 25.4.0. Check the vendor advisory for mitigations.
References
- https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/convert.py
- https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/render.py
- https://github.com/conda/conda-build/commit/bdf5e0022cec9a0c1378cca3f2dc8c92b4834673
- https://github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h
- https://github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h
Get alerted when CVE-2025-32799 or the next vulnerability affects your stack