CVE-2025-27772: UpTrain remote code execution in /new_run endpoint

CVE-2025-27772 · Severity: info · CVSS 8.8 · Published 2026-08-17

UpTrain is an open-source platform for evaluating and improving generative AI applications. The `/new_run` endpoint fails to properly validate user input, allowing authenticated users to execute arbitrary code on the host system running UpTrain (typically a Docker container). This could allow an attacker with valid API credentials to take full control of the application infrastructure.

Technologies: UpTrain. Vendors: UpTrain.

Quick answers

Is CVE-2025-27772 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-27772 being exploited in the wild.
How severe is CVE-2025-27772?
Informational severity, with a CVSS score of 8.8, published 17 August 2026.
Which products and versions are affected?
UpTrain 0.7.1 and prior.
Is there a fix for CVE-2025-27772?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-27772 attacked?
It is attacked over the network.
Am I affected by CVE-2025-27772?
Check whether you run UpTrain at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The `/new_run` endpoint in UpTrain v0.7.1 and prior uses Python's `eval()` function to process the `checks` and `metadata` parameters without sanitization, leading to arbitrary code execution. The vulnerable code directly evaluates these form parameters: `checks = eval(checks[0])` and `metadata = eval(metadata)`. Exploitation requires a valid API key (authenticated access) and network access to the UpTrain dashboard. An attacker can craft malicious Python expressions in the `checks` or `metadata` fields to execute arbitrary code in the context of the running process. As of publication, no patch is available; the project appears to be unmaintained.

Affected products

  • UpTrain UpTrain 0.7.1 and prior

Timeline

  • 2024-09-05: disclosed: Issue opened in repository
  • 2025-03-10: other: Project indicated to be unmaintained via Slack messages
  • 2026-08-10: other: Fix attempt via pull request (status unknown)
  • 2026-08-17: advisory: Public advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.