CVE-2026-16336 Details
Description
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.
An open redirect vulnerability has been identified in Trino version 481. The issue arises in the OAuth2/OIDC component, specifically within the file 'core/trino-main/src/main/java/io/trino/server/ExternalUriInfo.java'. The vulnerability occurs because Trino dynamically constructs the OAuth callback URI from the request context without proper server-side validation. This allows an attacker to manipulate the 'redirect_uri' argument, potentially redirecting authorization codes to an attacker-controlled endpoint. The vulnerability can be exploited remotely, particularly if the Identity Provider accepts the modified 'redirect_uri' due to loose matching criteria.
Trino should implement validation of the 'redirect_uri' to ensure it matches a configured allowlist or canonical URI before sending it to the Identity Provider. Invalid or untrusted forwarded host or protocol values should not be allowed to influence the 'redirect_uri' construction.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 21, 2026CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/trinodb/trino/ | [email protected] | ProductSource CodeVendor |
| https://github.com/trinodb/trino/issues/29754 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-16336 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/858687 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/380710 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/380710/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| trinodb trino | 481 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | [email protected] |
Volerion