CVE-2025-32798 Details
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.
A vulnerability in conda-build versions prior to 25.4.0 allows for arbitrary code execution through the unsafe evaluation of recipe selectors in meta.yaml files. The conda-build tool, used for creating conda packages, processes embedded selectors by evaluating user-defined expressions with the eval function. This method lacks proper input sanitization, enabling the execution of malicious code during the package build process. Consequently, the integrity of the build environment is compromised, potentially allowing unauthorized commands or file operations. The vulnerability arises from the risky use of eval() on untrusted input, creating a pathway for executing arbitrary code under the guise of recipe selector logic.
Users can upgrade to conda-build version 25.4.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| anaconda conda-build | < 25.4.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2025 | Initial Analysis | [email protected] |
| Jun 17, 2025 | CVE Modified | CISA-ADP |
| Jun 16, 2025 | New CVE Received | [email protected] |