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

Published Jun 16, 2025
·
Updated

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.

Affected Software

2 affected components
Anaconda Conda-build<25.4.0
Anaconda Conda-build<25.4.0

Event History

Jun 16, 2025
CVE Published
via MITRE·08:10 PM
Data Sourced
via MITRE·08:10 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-32798?

CVE-2025-32798 is classified as a high severity vulnerability due to the potential for arbitrary code execution.

2

How do I fix CVE-2025-32798?

To mitigate CVE-2025-32798, update conda-build to version 25.4.0 or later immediately.

3

What products are affected by CVE-2025-32798?

CVE-2025-32798 affects Anaconda conda-build versions prior to 25.4.0.

4

What type of vulnerability is CVE-2025-32798?

CVE-2025-32798 is a vulnerability that allows for arbitrary code execution due to unsafe evaluation in conda-build.

5

How was CVE-2025-32798 discovered?

CVE-2025-32798 was identified through analysis of the recipe processing logic in conda-build.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203