Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Trino coordinator with OAuth2/OIDC enabled
-
DeliveryCraft authentication URL with malicious redirect_uri substitution
-
ExploitDeliver link to legitimate Trino user via phishing
-
ExecutionUser completes OAuth2 authentication flow
-
PersistAuthorization server issues code/token to attacker-controlled URI
-
ImpactAttacker captures credential material or session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the Trino instance be explicitly configured to use OAuth2/OIDC authentication - this is a non-default authentication mode that must be deliberately enabled and configured in Trino's config.properties file (e.g., http-server.authentication.type=OAUTH2). Instances using default or alternative authentication methods (PASSWORD, KERBEROS, CERTIFICATE) are not affected. A victim user must also interact with a crafted authentication URL by clicking it and completing the OAuth2 login flow (UI:P). The attacker does not require any credentials or prior access to the Trino system (PR:N), but must socially engineer delivery of the malicious link. Exploitation is further limited to environments where the Trino coordinator's HTTPS endpoint is reachable by the attacker (directly or indirectly via phishing). There is no known exploitation of this vulnerability in the wild. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3) accurately reflects a medium-severity, remotely exploitable flaw that requires no credentials but does depend on user interaction. The low complexity (AC:L) and no privilege requirement (PR:N) mean any attacker can craft a malicious link without any foothold, but the UI:P constraint is a meaningful real-world limiter - the target must actively follow the link and complete authentication. Impact is scoped to integrity (VI:L) with no confidentiality or availability effect in the base case, though in OAuth2 contexts the real-world severity can exceed the base score if authorization codes or tokens are exposed during redirect. No EPSS score is available in the provided data. The vulnerability is not listed in CISA KEV and no public exploit code has been identified, making this a low-urgency but non-trivial issue for deployments using Trino's OAuth2/OIDC authentication. The primary concern is targeted phishing campaigns leveraging the legitimacy of a real Trino authentication endpoint rather than mass automated exploitation. |
| Exploit ScenarioDerived | An attacker identifies a Trino deployment with OAuth2/OIDC authentication enabled and crafts a malicious authentication URL targeting the ExternalUriInfo endpoint with a redirect_uri parameter pointing to an attacker-controlled domain. The attacker delivers this link via email or web to a target user with legitimate Trino access; when the user clicks the link and authenticates normally, the OAuth2 flow completes but the authorization code or session token is delivered to the attacker's server instead of the legitimate application. No public exploit code exists, but the attack requires only knowledge of the Trino endpoint URL and standard HTTP crafting. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 21, 2026
Open redirect in Trino 481's OAuth2/OIDC authentication component allows remote, unauthenticated attackers to manipulate the redirect_uri parameter in ExternalUriInfo.java, redirecting authenticated users to attacker-controlled external sites. Exploitation requires user interaction - a victim must follow a crafted authentication URL - making this primarily a phishing and token-harvesting enabler rather than a direct system compromise vector. No active exploitation has been confirmed (not in CISA KEV), no public exploit code exists, and the trinodb project had not responded to the responsible disclosure report at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the project was notified via GitHub issue #29754 but had not responded at the time of reporting. Operators should monitor https://github.com/trinodb/trino/issues/29754 and https://github.com/trinodb/trino/ for patch availability. As an immediate compensating control, if OAuth2/OIDC authentication is not operationally required, disabling it in Trino's configuration eliminates the attack surface entirely, though this will force a fallback to alternative authentication mechanisms. If OAuth2/OIDC must remain enabled, restrict network access to Trino's coordinator authentication endpoints (typically HTTPS on port 8443) to trusted internal networks only, reducing the attacker's ability to deliver crafted links that reach exposed endpoints. Additionally, enforcing strict redirect_uri registration at the OAuth2/OIDC identity provider level (requiring exact URI matches rather than prefix or pattern matching) can mitigate the impact even if Trino itself does not validate the parameter - this is an IdP-side control with no adverse effect on normal operation.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Trino (formerly PrestoSQL) is a distributed SQL query engine used for analytics across heterogeneous data sources. The vulnerable code resides in core/trino-main/src/main/java/io/trino/server/ExternalUriInfo.java, which handles URI construction within the OAuth2/OIDC authentication flow. CWE-601 (Open Redirect) arises when user-supplied input - here the redirect_uri parameter - is used to construct redirect targets without validation against an allowlist. In OAuth2/OIDC flows, the redirect_uri is critical: it specifies where the authorization server returns the user (and authorization code) after successful authentication. Failure to validate this parameter against pre-registered or explicitly allowed URIs enables an attacker to substitute a malicious destination, potentially capturing authorization codes or access tokens mid-flow. The CPE string cpe:2.3:a:trinodb:trino:*:*:*:*:*:*:*:* with a wildcard version qualifier suggests the underlying flaw may span multiple Trino releases, though version 481 is the confirmed reported version.
Know when Trino gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-accessible OAuth2 endpoint with no privileges required; user interaction mandatory to trigger redirect; impact limited to low integrity via phishing redirect, no confidentiality or availability loss.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was found in trinodb trino 481. Affected is an unknown function of the file core/trino-main/src/main/java/io/trino/server/ExternalUriInfo.java of the component OAuth2/OIDC. Performing a manipulation of the argument redirect_uri results in open redirect. It is possible to initiate the attack remotely. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-46147
GHSA-rf2w-6p6m-3cqv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB