Bug 2483184 (CVE-2026-42965) - CVE-2026-42965 openshift/router: openshift/router: cloud metadata SSRF via FQDN-typed EndpointSlice bypasses destination validation
Summary: CVE-2026-42965 openshift/router: openshift/router: cloud metadata SSRF via FQ...
Keywords:
Status: NEW
Alias: CVE-2026-42965
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-29 09:43 UTC by OSIDB Bzimport
Modified: 2026-05-29 09:48 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-29 09:43:28 UTC
The OpenShift Router does not validate backend destinations resolved from FQDN-typed EndpointSlices. A user with EndpointSlice write access can create a Service backed by an FQDN EndpointSlice pointing to a hostname that resolves to 169.254.169.254 (e.g. 169-254-169-254.nip.io), then create a Route targeting that Service. The router proxies requests to the cloud metadata endpoint, allowing the attacker to retrieve instance credentials and other sensitive metadata. This bypasses the fix for CVE-2021-25737, which only validates IPv4/IPv6 addresses via ValidateEndpointIP() but not FQDN endpoints. IMDSv2 does not mitigate this because HAProxy runs as a hostNetwork process at Layer 7 and can perform the PUT/GET token exchange. This attack requires the IngressController to use HostNetwork endpoint publishing (default on bare metal/UPI, not on cloud providers).


Note You need to log in before you can comment on or make changes to this bug.