Skip to main content

Trino EUVDEUVD-2026-46147

| CVE-2026-16336 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-07-21 VulDB GHSA-rf2w-6p6m-3cqv
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Trino coordinator with OAuth2/OIDC enabled
  2. Delivery
    Craft authentication URL with malicious redirect_uri substitution
  3. Exploit
    Deliver link to legitimate Trino user via phishing
  4. Execution
    User completes OAuth2 authentication flow
  5. Persist
    Authorization server issues code/token to attacker-controlled URI
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

trino 481

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

Vendor (VulDB) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 4.3 MEDIUM

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche distributed SQL engine, primarily enterprise data lake deployments
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy