GHSL-2024-198_GHSL-2024-199: Zero click RCE in Uptrain - CVE-2025-27621, CVE-2025-27770
The Uptrain dashboard uses a constant default API key and an open CORS policy, allowing any website to make authenticated requests. The /create_project endpoint evaluates user-supplied checks and metadata parameters, enabling remote code execution.
The Uptrain dashboard lacks significant authentication, has an open CORS policy, and is vulnerable to a remote code execution vulnerability. Combining these primitives, an attacker can get zero click remote code execution in the context of the Uptrain host by directing an Uptrain user to a specially crafted website.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application uses a static default API key with an open CORS policy and passes user input directly to Python's eval function.
Impact
An attacker could achieve zero-click remote code execution in the context of the Uptrain host by directing a user to a crafted website.
What the attacker needed
Victim visits a malicious website; Uptrain instance is running
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The Uptrain dashboard has a built-in default user with a fixed API key that anyone can know. Because the server also accepts requests from any website, a malicious site can use that key to send commands to the dashboard. One of those commands runs code on the server, letting an attacker take control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.