9.8
CRITICAL CVSS 3.1
CVE-2025-32798
Conda-build Arbitrary Code Execution Vulnerability
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.

INFO

Published Date :

June 16, 2025, 8:15 p.m.

Last Modified :

July 2, 2025, 6:21 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-32798 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Anaconda conda-build
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
CVSS 4.0 HIGH [email protected]
Solution
Update conda-build to version 25.4.0 or later to fix arbitrary code execution.
  • Update conda-build to version 25.4.0 or later.
  • Review all conda-build recipes for unsafe selectors.
  • Sanitize user-provided input for recipe selectors.
  • Avoid using eval on untrusted input.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-32798.

URL Resource
https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/metadata.py Product
https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754 Patch
https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr Exploit Third Party Advisory
https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-32798 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-32798 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-32798 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-32798 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 02, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:anaconda:conda-build:*:*:*:*:*:*:*:* versions up to (excluding) 25.4.0
    Added Reference Type GitHub, Inc.: https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/metadata.py Types: Product
    Added Reference Type GitHub, Inc.: https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754 Types: Patch
    Added Reference Type CISA-ADP: https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr Types: Exploit, Third Party Advisory
    Added Reference Type GitHub, Inc.: https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr Types: Exploit, Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr
  • New CVE Received by [email protected]

    Jun. 16, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.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
    Added CWE CWE-94
    Added Reference https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/metadata.py
    Added Reference https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754
    Added Reference https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.2
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact