Skip to content

CVE-2025-32798 Conda-build Allows Arbitrary Code Execution via Malicious Recipe Selectors

HighCVSS 8.2 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
anaconda conda-build < 25.4.0 25.4.0 Fixed
conda-build = < 25.4.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
conda-build = < 25.4.0 No fix listed
anaconda conda-build < 25.4.0 25.4.0

References