Description
UpTrain is an open-source platform to evaluate and improve generative AI applications. In version 0.7.1 and prior, the `/add_prompts` 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.
Published: 2026-08-17
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

UpTrain, an open‑source AI evaluation platform, has a flaw in its /add_prompts HTTP endpoint that lets authenticated users inject data into the checks and metadata parameters. The input is passed to python code without proper sanitization, which allows an attacker to execute arbitrary code on the host system, typically the docker container in which UpTrain runs. This results in full compromise of the container and potential lateral movement inside the host environment.

Affected Systems

The vulnerability exists in UpTrain version 0.7.1 and all earlier releases. Users running these versions on any platform that follows the standard docker-based deployment are affected.

Risk and Exploitability

The CVSS score for this issue is 7.4, indicating moderate to high severity. EPSS data is not available and the vulnerability is not currently listed in the CISA KEV catalog. The likely attack vector requires a valid authenticated session to access the /add_prompts endpoint, making it a privilege‑related RCE. An attacker who can authenticate could fully compromise the container and, in many deployment scenarios, the underlying host system.

Generated by OpenCVE AI on August 17, 2026 at 17:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a version newer than 0.7.1 once it is released.
  • Restrict access to the /add_prompts endpoint to the minimum set of trusted users and enforce strong authentication and authorization controls.
  • If an upgrade is not possible, consider disabling or removing the /add_prompts endpoint entirely or placing the UpTrain service behind a firewall that blocks unauthenticated traffic.

Generated by OpenCVE AI on August 17, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Description UpTrain is an open-source platform to evaluate and improve generative AI applications. In version 0.7.1 and prior, the `/add_prompts` 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.
Title Uptrain vulnerable to remote code execution via `/add_prompts` endpoint
Weaknesses CWE-74
References
Metrics cvssV4_0

{'score': 7.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T22:01:57.663Z

Reserved: 2025-03-06T18:06:54.459Z

Link: CVE-2025-27771

cve-icon Vulnrichment

Updated: 2026-08-17T21:59:21.183Z

cve-icon NVD

Status : Received

Published: 2026-08-17T16:16:46.580

Modified: 2026-08-17T22:16:57.317

Link: CVE-2025-27771

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T17:30:18Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')