CVE-2025-27772 Uptrain vulnerable to remote code execution via `/new_run` endpoint
Authenticated attackers can execute arbitrary code on the host via the /new_run endpoint in UpTrain, compromising the underlying container or system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-27772?
CVE-2025-27772 is a high-severity code injection vulnerability in uptrain-ai uptrain, published on 17 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
UpTrain is an open-source platform to evaluate and improve generative AI applications. In version 0.7.1 and prior, the `/new_run` endpoint is vulnerable to remote code execution via the `checks` and `metadata` parameters. Any user that has access to UpTrain and a valid authentication method may be able to execute arbitrary code in the context of the host running UpTrain, which in most cases will be the docker container as suggested by the documentation. As of time of publication, no known patch is available.
Weakness: CWE-74
Which versions are affected by CVE-2025-27772?
How do I fix CVE-2025-27772?
No fix has been published for CVE-2025-27772 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-27772 being exploited?
There is no known exploitation of CVE-2025-27772 in the wild and no public exploit code.