Description
UpTrain is an open-source platform to evaluate and improve generative AI applications. In version 0.7.1 and prior, the UpTrain backend creates a new default user with a static username, where the username is also used as the default API key. The UpTrain backend also has an open CORS policy. Using these two primitives, any website can make a authenticated cross-origin request to the UpTrain instance by providing the default API key in the header `uptrain-access-token`. This issue may allow arbitrary websites to perform privileged operations on the UpTrain instance, as if they were the default logged in user. As of time of publication, no known patches are available.
Published: 2026-08-17
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

UpTrain vulnerabilities were discovered in version 0.7.1 and earlier where a static username is generated as a default API key for the system. This key is sent to the backend as the bearer token in the uptrain-access-token header. A flaw in the application logic combined with an unrestricted CORS policy allows a malicious website to send authenticated requests to any deployed instance and perform actions with the privileges of the default user. The weakness is catalogued as a broken authentication mechanism, specifically CWE-287, allowing an attacker to impersonate a legitimate user or elevate privileges without proper credential validation.

Affected Systems

The affected product is UpTrain (uptrain-ai:uptrain) version 0.7.1 and all prior releases. No other versions or extensions are documented in the advisory, and no patches have been released at the time of publication.

Risk and Exploitability

The CVSS score of 7.7 marks this flaw as high severity. The EPSS score is not available, but the lack of a KEV listing does not preclude exploitation. Based on the description, it is inferred that the likely attack vector involves a malicious website crafting cross‑origin requests that include the default API key in the uptrain-access-token header, exploiting the open CORS policy to authenticate as the default user. This allows the attacker to perform privileged operations with unrestricted access, leading to significant risk to confidentiality, integrity, and availability, especially for publicly exposed or shared environments.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Create a custom API key by removing or disabling the automatically created default user account and configuring a new unique key rather than using the static username.
  • Modify the UpTrain backend CORS settings to allow only trusted or whitelisted origins, or disable cross‑origin requests entirely.
  • Restrict network exposure of the UpTrain instance by placing it behind a firewall or reverse proxy that blocks unauthenticated or cross‑origin traffic.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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 UpTrain backend creates a new default user with a static username, where the username is also used as the default API key. The UpTrain backend also has an open CORS policy. Using these two primitives, any website can make a authenticated cross-origin request to the UpTrain instance by providing the default API key in the header `uptrain-access-token`. This issue may allow arbitrary websites to perform privileged operations on the UpTrain instance, as if they were the default logged in user. As of time of publication, no known patches are available.
Title UpTrain has a Constant Default API Key
Weaknesses CWE-287
References
Metrics cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T15:58:21.403Z

Reserved: 2025-03-03T15:10:34.080Z

Link: CVE-2025-27621

cve-icon Vulnrichment

Updated: 2026-08-17T15:58:17.813Z

cve-icon NVD

Status : Received

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

Modified: 2026-08-17T16:16:46.290

Link: CVE-2025-27621

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T18:30:04Z

Weaknesses