CVE-2025-27771: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in uptrain-ai uptrain
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.
AI Analysis
Technical Summary
CVE-2025-27771 affects UpTrain, an open-source platform for evaluating generative AI applications. Versions prior to 0.7.2 have an improper neutralization of special elements in output used by a downstream component (CWE-74) vulnerability in the /add_prompts endpoint. This flaw allows authenticated users to execute arbitrary code remotely by manipulating the checks and metadata parameters. The execution context is generally the Docker container hosting UpTrain. As of the publication date, no official fix or patch has been released.
Potential Impact
An attacker with valid authentication to UpTrain can exploit this vulnerability to execute arbitrary code on the host system running UpTrain, which may lead to full compromise of the container environment. This elevates the risk of unauthorized control over the affected system and potential lateral movement within the environment.
Mitigation Recommendations
No official patch or remediation is currently available. Users should restrict access to UpTrain to trusted users only and monitor for suspicious activity. Follow the vendor advisory for updates on patch availability.
CVE-2025-27771: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in uptrain-ai uptrain
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.
CVSS v4.0
Score 7.4high
Affected software
uptrain-ai
uptrain
pkg:github/uptrain-ai/uptrainRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-27771 affects UpTrain, an open-source platform for evaluating generative AI applications. Versions prior to 0.7.2 have an improper neutralization of special elements in output used by a downstream component (CWE-74) vulnerability in the /add_prompts endpoint. This flaw allows authenticated users to execute arbitrary code remotely by manipulating the checks and metadata parameters. The execution context is generally the Docker container hosting UpTrain. As of the publication date, no official fix or patch has been released.
Potential Impact
An attacker with valid authentication to UpTrain can exploit this vulnerability to execute arbitrary code on the host system running UpTrain, which may lead to full compromise of the container environment. This elevates the risk of unauthorized control over the affected system and potential lateral movement within the environment.
Mitigation Recommendations
No official patch or remediation is currently available. Users should restrict access to UpTrain to trusted users only and monitor for suspicious activity. Follow the vendor advisory for updates on patch availability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-03-06T18:06:54.459Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a833691bf8831d53930a4ad
Added to database: 08/17/2026, 16:28:01 UTC
Last enriched: 08/17/2026, 16:41:20 UTC
Last updated: 10/02/2026, 02:46:00 UTC
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.