CVE-2025-49598 conda-forge-ci-setup Allows Arbitrary Code Execution via Insecure Version Parsing
An attacker can execute arbitrary code by injecting malicious payloads into meta.yaml files processed by conda-forge-ci-setup during CI builds.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-49598?
CVE-2025-49598 is a medium-severity code injection vulnerability in conda-forge-ci-setup-feedstock, published on 13 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
conda-forge-ci-setup is a package installed by conda-forge each time a build is run on CI. The conda-forge-ci-setup-feedstock setup script is vulnerable due to the unsafe use of the eval function when parsing version information from a custom-formatted meta.yaml file. An attacker controlling meta.yaml can inject malicious code into the version assignment, which is executed during file processing, leading to arbitrary code execution. Exploitation requires an attacker to modify the recipe file by manipulating the RECIPE_DIR variable and introducing a malicious meta.yaml file. While this is more feasible in CI/CD pipelines, it is uncommon in typical environments, reducing overall risk. This vulnerability is fixed in 4.15.0.
Weakness: CWE-95
Which versions are affected by CVE-2025-49598?
How do I fix CVE-2025-49598?
No fix has been published for CVE-2025-49598 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-49598 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49598 exists.
Sources
Also known as GHSA-jh2q-mrmj-hff3.