Public vulnerability disclosure

CVE-2026-49329

Openshift/oauth-server: openshift/oauth-server: quadratic-time dos via accept-language header underscore bypass on unauthenticated login endpoints

publishedCWE-407

A flaw was found in openshift/oauth-server. The OAuth login and error page endpoints pass the unauthenticated Accept-Language header to golang.org/x/text/language.ParseAcceptLanguage() without input validation. A bypass of the CVE-2022-32149 mitigation exists: the upstream guard counts only '-' characters but the internal BCP 47 scanner aliases '_' to '-' after the guard check. An unauthenticated attacker can send a crafted Accept-Language header using '_' separators to trigger quadratic-time parsing, consuming excessive CPU and denying authentication to all cluster users.

Technical severity7.5 highCVSS 3.1 · CNA: redhat
Published2026-09-01Source updated 2026-12-03
Collected2026-12-033 attributed sources

Fixes and workarounds

Workaround

Until an OpenShift update containing the vendor fix is available, place an external WAF or load balancer that terminates TLS in front of the OAuth endpoint. Configure it to reject requests with an Accept-Language header larger than 4 KiB or with more than 32 combined - and _ separators. Rate-limit unauthenticated requests to the OAuth login and error endpoints as an additional defense. The proxy must re-establish TLS to the existing OAuth route, preserve the OAuth hostname/SNI, and validate the backend certificate. Do not disable TLS verification or expose the OAuth service directly. If an external TLS-terminating control cannot be deployed, there is no supported OpenShift router-only mitigation while the OAuth route remains TLS passthrough. Restricting access to the OAuth endpoint to trusted networks can reduce exposure but may affect user access. Upgrade to the first OpenShift release containing the fix as soon as it is available.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Red Hat OpenShift Container Platform 4.12
Red Hat
openshift4/ose-oauth-server-rhel8
https://catalog.redhat.com/software/containers/
≥ 1795150606; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.13
Red Hat
openshift4/ose-oauth-server-rhel8
https://catalog.redhat.com/software/containers/
≥ 1793823075; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.14
Red Hat
openshift4/ose-oauth-server-rhel8
https://catalog.redhat.com/software/containers/
≥ 1791839120; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.15
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1791598539; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.16
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1792883889; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.17
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1793907184; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.18
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1790882323; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.19
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1790611633; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.20
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1790702087; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.21
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1790707106; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4.22
Red Hat
openshift4/ose-oauth-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1790713150; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 5
Red Hat
openshift5/ose-oauth-server-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCNA: redhat
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide