CVE-2025-32798CWE-94

Conda-build Allows Arbitrary Code Execution via Malicious Recipe Selectors

High · published June 16, 2025

CVSS v4.0
8.2
EPSS
1%
Percentile
57.2
In the wild
Unconfirmed
What it is

⚡ A simple line in your `meta.yaml` can lead to full remote code execution! Prior to version 25.4.0, conda-build didn't properly sanitize user input, and attackers could run arbitrary code during package builds. 🔥 Think of conda-build as a restaurant kitchen that allows customers to write their own recipe instructions on the menu. If the chefs take those instructions literally without checking, a customer could sneak in a recipe for disaster instead of dinner! This vulnerability allows an attacker to manipulate the build process by injecting malicious code, which could result in unauthorized access, data loss, or even complete system compromise. Your trusted build environment could be compromised, leading to widespread chaos across applications that rely on these packages.

Put simply

Think of conda-build as a restaurant kitchen that allows customers to write their own recipe instructions on the menu. If the chefs take those instructions literally without checking, a customer could sneak in a recipe for disaster instead of dinner! The conda-build recipe processing logic improperly evaluates user-defined expressions in `meta.yaml` files using the eval function, allowing execution of arbitrary code without adequate checks. This means anyone could modify the build configurations to run malicious commands.

What to do

This vulnerability allows an attacker to manipulate the build process by injecting malicious code, which could result in unauthorized access, data loss, or even complete system compromise. Your trusted build environment could be compromised, leading to widespread chaos across applications that rely on these packages. Upgrade conda-build to version 25.4.0 or later immediately to eliminate this risk. Additionally, review and sanitize any user input before evaluation in your build processes to prevent future occurrences. Regularly audit your builds for integrity. You've got this! Stay vigilant, and with these updates, you'll keep your build environments secure! 🛡️

The record
Technical detail
CVSS v4.0
8.2 · HIGH
Vector
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
EPSS
0.00831 · 57.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-06-16T20:10Z
EPSS history
Timeline
  • 16 JUN 20:10Z
    Conda-build Allows Arbitrary Code Execution via Malicious Recipe Selectors
    cvelistv5