CVE-2025-32799: conda-build · Path Traversal
Affects conda-buildSource CVE Database V5
Not known to be exploited · CVSS 5.6 Medium : upgrade to 25.4.0 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.3% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 25.4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 16 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade conda-build to 25.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIconda-buildpkg:pypi/conda-buildOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Upgrade all conda-build installations to version 25.4.0 or later immediately to apply the official patch preventing path traversal. 2. Implement strict validation and whitelisting of tar archives before extraction, including scanning for directory traversal sequences and verifying archive contents against expected file paths. 3. Restrict permissions of build environments and extraction directories to minimize impact of potential file overwrites, e.g., using containerization or sandboxing to isolate build processes. 4. Monitor file integrity of critical system and build environment files using file integrity monitoring tools to detect unauthorized modifications. 5. Educate developers and build engineers to avoid extracting untrusted tar archives and to verify sources of packages and dependencies. 6. Integrate automated security scanning of package sources and archives in CI/CD pipelines to detect malformed or malicious inputs. 7. Maintain up-to-date backups of build environments and critical files to enable recovery in case of compromise. These steps go beyond generic advice by focusing on build environment hardening, archive validation, and operational monitoring tailored to conda-build usage scenarios.
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.
References
- github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h (opens in a new tab)
- github.com/conda/conda-build/commit/bdf5e0022cec9a0c1378cca3f2dc8c92b4834673 (opens in a new tab)
- github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/convert.py (opens in a new tab)
- github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/render.py (opens in a new tab)