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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS: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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-16T20:10:06.902Z
- Modified: 2026-06-17T09:12:35.537Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- conda conda-build: < 25.4.0
- anaconda conda-build: before 25.4.0

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS: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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr> (exploit, third-party-advisory)
- <https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754> (patch)
- <https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/metadata.py> (product)

## Sources

- CVE List: [CVE-2025-32798](https://www.cve.org/CVERecord?id=CVE-2025-32798), CVE Terms of Use, modified 2025-06-17
- NVD: [CVE-2025-32798](https://nvd.nist.gov/vuln/detail/CVE-2025-32798), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32798 · Whole record: https://cve.day/CVE-2025-32798.json · Rebuilt by cve.day 2026-11-25T22:58:59.261Z
