CVE-2025-27621: UpTrain has a Constant Default API Key
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.
Security readout for executives and security teams
Plain-English summary
UpTrain 0.7.1 and earlier create a default user whose static username also serves as its API key. Combined with permissive cross-origin access, an arbitrary website may act as that user and perform privileged operations. This threatens the integrity of exposed UpTrain environments.
Executive priority
Treat reachable affected backends as a high-priority integrity risk. Immediately reduce exposure, verify whether default credentials remain active, and monitor for misuse. Because no patch is identified, require tracked vendor follow-up and documented compensating controls rather than assuming an upgrade exists.
Technical view
The backend uses a predictable default credential accepted through the uptrain-access-token header and permits open CORS. A remote attacker can therefore submit authenticated cross-origin requests without prior privileges or user interaction. The supplied CVSS 4.0 score is 7.7, with high integrity impact and no stated confidentiality or availability impact.
Likely exposure
Exposure is most likely where UpTrain 0.7.1 or earlier runs the dashboard backend, retains the default user credential, and is reachable from users' browsers or untrusted networks. The source bundle does not identify hosted services, deployment defaults, or internet-wide prevalence.
Exploitation context
The supplied CVSS vector marks proof-of-concept maturity, but the source bundle provides no evidence of active exploitation. The CVE is not listed as KEV. Exploitation requires network reachability but reportedly needs no privileges, special conditions, or user interaction.
Researcher notes
The issue is an authentication weakness, CWE-287, created by a static default identity and credential, amplified by open CORS. The cited source snapshot shows the relevant backend implementation. Evidence is insufficient to establish confidentiality impact, availability impact, affected deployment prevalence, active exploitation, or a vendor-approved remediation.
Mitigation direction
Identify and restrict network access to UpTrain backend instances running version 0.7.1 or earlier.
Remove or replace the default credential only through vendor-supported configuration.
Limit permitted CORS origins as a compensating control where safely supported.
Check current UpTrain vendor guidance regularly; the sources name no available patch.
Monitor backend activity for unexpected privileged operations or use of the default identity.
Validation and detection
Inventory deployed UpTrain versions and flag every backend running version 0.7.1 or earlier.
Determine whether the documented default user and API key remain enabled.
Review CORS configuration for unrestricted origins on each affected backend.
Confirm affected services are not reachable from untrusted networks or browser contexts.
Review logs for unexpected requests authenticated as the default user.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-287: Credential and account abuse lookup
Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-287 · source CWE mapping
Improper Authentication
Improper Authentication represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.