PT-2025-16541 · Conda Forge · Conda-Forge-Webservices

·

CVE-2025-32784

·

Published

2025-04-15

·

Updated

2025-04-16

CVSS v4.0

7.5

High

VectorAV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions conda-forge-webservices versions prior to 2025.4.10
Description A Time-of-Check to Time-of-Use (TOCTOU) issue has been identified in the conda-forge-webservices component, which can be exploited to introduce unauthorized modifications to build artifacts stored in the cf-staging Anaconda channel. This may result in the unauthorized publication of malicious artifacts to the production conda-forge channel. The core issue is due to the absence of atomicity between the hash validation and the artifact copy operation, allowing an attacker with access to the cf-staging token to overwrite the validated artifact with a malicious version immediately after hash verification, but before the copy action is executed. This can be done using the anaconda upload --force command.
Recommendations For versions prior to 2025.4.10, update to version 2025.4.10 to fix the vulnerability. As a temporary workaround, consider restricting access to the cf-staging token and limiting the use of the anaconda upload --force command to minimize the risk of exploitation.

Exploit

Fix

Time Of Check To Time Of Use

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-32784
GHSA-28CX-74FP-G2G2

Affected Products

Conda-Forge-Webservices