Openshift/router: openshift/router: newline injection via the hsts route annotation causes cluster-wide haproxy reload failure
- State
- Published
- Severity
- 7.7 High
- Published
- Dec 1, 2026
- Updated
- Dec 1, 2026
- Reserved
- Oct 5, 2026
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.
| Product | Versions |
|---|---|
| Red Hat OpenShift Container Platform 4 Red Hat | |
| Red Hat OpenShift Container Platform 4 Red Hat | |
| Red Hat OpenShift Container Platform 5 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.7 High | redhat |
Weaknesses
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
- https://access.redhat.com/security/cve/CVE-2026-105843Vulnerability Database
- RHBZ#2546196Issue Tracker
- https://github.com/openshift/router/blob/4b401a86dccc657a8a5254c2794a312241f40e87/images/router/haproxy/conf/haproxy-config.template#L31
- https://github.com/openshift/router/blob/4b401a86dccc657a8a5254c2794a312241f40e87/images/router/haproxy/conf/haproxy-config.template#L781
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.