CVE-2025-32798: Conda-build Allows Arbitrary Code Execution via Malicious Recipe Selectors
Vulnerability summary
CVE-2025-32798 is a critical (CVSS 9.8) Code Injection vulnerability in anaconda conda-build. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 57.1% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 16-06-2025PublishedVulnerability first disclosed.
- 17-06-2025Last modifiedVulnerability information updated.
Description
Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build recipe processing logic has been found to be vulnerable to arbitrary code execution due to unsafe evaluation of recipe selectors. Currently, conda-build uses the eval function to process embedded selectors in meta.yaml files. This approach evaluates user-defined expressions without proper sanitization, which allows arbitrary code to be executed during the build process. As a result, the integrity of the build environment is compromised, and unauthorized commands or file operations may be performed. The vulnerability stems from the inherent risk of using eval() on untrusted input in a context intended to control dynamic build configurations. By directly interpreting selector expressions, conda-build creates a potential execution pathway for malicious code, violating security assumptions. This issue has been patched in version 25.4.0.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST8.2HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.84% on 23-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundConda Build
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Anaconda1 product
- conda-build< 25.4.0
Conda1 product
- conda-build< 25.4.0
2 vendors · 2 products
References
3 links- github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgrX Refsource CONFIRMExploitThird Party Advisory