CVE-2025-32798

HIGH EPSS 48.3%
Published Jun 16, 20251y ago · Modified Jun 17, 20262w ago
8.2 CVSS 4.0
High
Find Similar
Published Jun 16, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
8.2
Exploitability
Impact
Vector string
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
48.3% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-94 Improper Control of Generation of Code (Code Injection) Injection

Affected Products 1

VendorProductVersionRange
anacondaconda-build* <25.4.0

References 3

  • github.com https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/metadata.py
    Product
  • github.com https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754
    Patch
  • github.com https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754
    Patch