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.
Published: 2026-08-05
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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 yet.

History

Wed, 05 Aug 2026 15:30:00 +0000

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'}


Subscriptions

Redhat Openshift
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-05T14:40:45.147Z

Reserved: 2026-05-29T13:28:56.552Z

Link: CVE-2026-49331

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T16:30:13Z

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity