Red Hat OpenShift Container Platform 4.12
Openshift/oauth-proxy: openshift/oauth-proxy: underscore header smuggling enables identity impersonation on wsgi/php upstreams
A flaw was found in openshift/oauth-proxy. The proxy sets authenticated identity headers using only dash-variant keys (X-Forwarded-User) but does not strip underscore-variant keys (X_Forwarded_User) from incoming requests. WSGI and PHP frameworks normalize both variants to the same variable, allowing an authenticated low-privilege user to smuggle a forged identity that may override the legitimate authenticated identity in the upstream application.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 1786458704
Fixed in 1786477436
Fixed in 1785549818
Fixed in 1787054100
Fixed in 1785544039
Fixed in 1787543313
Fixed in 1785529735
Fixed in 1785521728
Fixed in 1785833742
Fixed in 1785851359
Fixed in 1785885351
Mitigation
Upgrade Red Hat OpenShift Container Platform 4.12 to 1786458704 or later.
Upgrade Red Hat OpenShift Container Platform 4.13 to 1786477436 or later.
Upgrade Red Hat OpenShift Container Platform 4.14 to 1785549818 or later.
Upgrade Red Hat OpenShift Container Platform 4.15 to 1787054100 or later.
Upgrade Red Hat OpenShift Container Platform 4.16 to 1785544039 or later.
Upgrade Red Hat OpenShift Container Platform 4.17 to 1787543313 or later.
Upgrade Red Hat OpenShift Container Platform 4.18 to 1785529735 or later.
Upgrade Red Hat OpenShift Container Platform 4.19 to 1785521728 or later.
Upgrade Red Hat OpenShift Container Platform 4.20 to 1785833742 or later.
Upgrade Red Hat OpenShift Container Platform 4.21 to 1785851359 or later.
Upgrade Red Hat OpenShift Container Platform 4.22 to 1785885351 or later.
Workaround
Upstream application hardening: validate X-Forwarded-User against the expected session identity. Reject requests where identity headers do not match the authenticated session.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:50681
- Vendor advisory access.redhat.com/errata/RHSA-2026:50758
- Vendor advisory access.redhat.com/errata/RHSA-2026:51007
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:51013
- Vendor advisory access.redhat.com/errata/RHSA-2026:51022
- Vendor advisory access.redhat.com/errata/RHSA-2026:51025
- Vendor advisory access.redhat.com/errata/RHSA-2026:51038
- Vendor advisory access.redhat.com/errata/RHSA-2026:54188
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.