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.
Published: 2026-12-01
Score: 7.7 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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


Subscriptions

Redhat Openshift
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-12-01T02:12:11.646Z

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-01T03:17:11.837

Link: CVE-2026-105843

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-01T05:00:08Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')