CVE-2025-32798
Anaconda Conda-build vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Conda-build. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Anaconda Conda-build runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754 · Patch
- github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr · Exploit
- github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/met
- nvd.nist.gov/vuln/detail/CVE-2025-32798
- cve.org/CVERecord?id=CVE-2025-32798
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.