CVE-2026-49331

Openshift/oauth-proxy: openshift/oauth-proxy: unauthenticated identity header injection on whitelisted paths

Published Aug 5, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in openshift/oauth-proxy. On paths configured to bypass authentication (skip-auth-regex), the proxy forwards client-supplied identity headers (X-Forwarded-User, X-Forwarded-Email, X-Forwarded-Access-Token) to the upstream application without stripping them. An unauthenticated attacker can inject forged identity headers on whitelisted paths.

Analysis

AI-generated

Technical impact

The flaw allows an unauthenticated attacker to inject forged identity headers (X-Forwarded-User, X-Forwarded-Email, X-Forwarded-Access-Token) on paths that bypass authentication. This can cause the upstream application to believe the request originates from a legitimate authenticated user, potentially leading to unauthorized actions or privilege escalation. The underlying weakness is the failure to strip these headers, allowing identity spoofing.

Affected Systems

Red Hat OpenShift Container Platform 4, the currently deployed OpenShift Container Platform 4 releases that use openshift/oauth-proxy with skip-auth-regex enabled. No specific sub‑versions are listed, so any 4.x deployment that relies on the default proxy configuration is potentially affected.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The exploit probability (EPSS) is not available, and the vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the issue via normal HTTP traffic to whitelisted paths, and no privileged access or elevated privileges are required. The vulnerability is likely to be exploitable through simple crafted requests, making it a practical risk to deployments that have permissive skip-auth-regex settings.

Remediation

Vendor Workaround

Review and minimize skip-auth-regex configurations. Add middleware in upstream applications to ignore X-Forwarded-User on unauthenticated paths.


OpenCVE Recommended Actions

  • Review and minimize skip-auth-regex configurations to limit whitelisted paths.
  • Add middleware in upstream applications to discard X-Forwarded-User headers on unauthenticated paths.
  • Apply any vendor patch or upgrade to a version that fixes the vulnerability when it becomes available.

Generated by OpenCVE AI on August 5, 2026 at 16:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat openshift Container Platform
Vendors & Products Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in openshift/oauth-proxy. On paths configured to bypass authentication (skip-auth-regex), the proxy forwards client-supplied identity headers (X-Forwarded-User, X-Forwarded-Email, X-Forwarded-Access-Token) to the upstream application without stripping them. An unauthenticated attacker can inject forged identity headers on whitelisted paths.
Title Openshift/oauth-proxy: openshift/oauth-proxy: unauthenticated identity header injection on whitelisted paths
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-345
CPEs cpe:/a:redhat:openshift:4
Vendors & Products Redhat
Redhat openshift
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2026, 2:20 PM
Reserved
May 29, 2026, 1:28 PM
Status
Awaiting Analysis
Published
Aug 5, 2026, 4:16 PM
Modified
Oct 24, 2026, 4:10 PM
Severity
Moderate
Public date
Aug 5, 2026, 2:12 PM