A flaw was found in OpenShift Router. The regular expression used to validate the haproxy.router.openshift.io/hsts_header route annotation matches the whitespace character class, which includes newline characters, and the matched value is written without escaping into the shared HAProxy configuration file. An authenticated user with permission to create Route objects in a single namespace can inject newline characters into the generated configuration, causing HAProxy to fail to parse it. This results in reload failures and prevents ingress updates across the cluster, leading to a denial of service.

Project Subscriptions

Vendors Products
Red Hat Subscribe
Red Hat Openshift Container Platform 5 Subscribe
Openshift Subscribe
Openshift Container Platform Subscribe
Red Hat Openshift Container Platform 5 Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

Restrict permission to create Route objects to trusted users. Preventing untrusted namespaces from setting the haproxy.router.openshift.io/hsts_header annotation removes the attack vector. If a cluster is already affected, HAProxy keeps serving its previous configuration but will not apply further route or endpoint changes; identify and delete the Route whose hsts_header annotation contains embedded newline characters, then restart the router pods.

History

Tue, 01 Dec 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Openshift Container Platform 5
Redhat openshift Container Platform
Redhat red Hat Openshift Container Platform 5
Vendors & Products Red Hat
Red Hat red Hat Openshift Container Platform 5
Redhat openshift Container Platform
Redhat red Hat Openshift Container Platform 5

Tue, 01 Dec 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Tue, 01 Dec 2026 02:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in OpenShift Router. The regular expression used to validate the haproxy.router.openshift.io/hsts_header route annotation matches the whitespace character class, which includes newline characters, and the matched value is written without escaping into the shared HAProxy configuration file. An authenticated user with permission to create Route objects in a single namespace can inject newline characters into the generated configuration, causing HAProxy to fail to parse it. This results in reload failures and prevents ingress updates across the cluster, leading to a denial of service.
Title Openshift/router: openshift/router: newline injection via the hsts route annotation causes cluster-wide haproxy reload failure
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-74
CPEs cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
Vendors & Products Redhat
Redhat openshift
References
Metrics cvssV3_1

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


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-12-01T14:31:47.010Z

Reserved: 2026-10-05T23:03:28.880Z

Link: CVE-2026-105843

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-01T03:17:11.703

Modified: 2026-12-01T15:17:47.273

Link: CVE-2026-105843

cve-icon Redhat

Severity : Important

Publid Date: 2026-12-01T01:39:41Z

Links: CVE-2026-105843 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-12-01T21:15:03Z

Weaknesses