Summary
In OpenShift Router, the regular expression used to validate the haproxy.router.openshift.io/hsts_header route annotation accepts whitespace, including newline characters. The value is written unescaped into the shared HAProxy configuration file (CWE-74).
The attack is network-based, low complexity and requires no user interaction. The attacker only needs to be authenticated with permission to create Route objects in a single namespace. Scope is changed (S:C): the impact extends beyond the attacker's namespace to the entire cluster.
The injected newlines make the configuration unparseable, so HAProxy reloads fail. HAProxy keeps serving its previous configuration but stops applying route and endpoint changes cluster-wide. The result is a denial of service (high availability impact, no confidentiality or integrity impact). The vulnerability is not listed in the CISA KEV catalog.
Who is affected
Organizations running Red Hat OpenShift Container Platform 4 or 5, especially multi-tenant clusters where untrusted users can create Route objects.
What to do
- Check Red Hat's official advisory (access.redhat.com/security/cve/CVE-2026-105843) for fixed versions and apply the patch when available; no fixed version is listed in the record.
- Restrict permission to create Route objects to trusted users.
- Prevent untrusted namespaces from setting the haproxy.router.openshift.io/hsts_header annotation, e.g. via an admission policy.
- If a cluster is already affected (route changes are not applied), identify and delete the Route whose hsts_header annotation contains embedded newline characters, then restart the router pods.
- Review existing routes that use the hsts_header annotation and check router logs for failed HAProxy reloads.
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.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- None
- Integrity
- None
- Availability
- High impact
Weakness type (CWE)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
- access.redhat.com/security/cve/CVE-2026-105843
- bugzilla.redhat.com/show_bug.cgi?id=2546196
- github.com/openshift/router/blob/4b401a86dccc657a8a5254c2794a312241f40e87/images/router/ha
- github.com/openshift/router/blob/4b401a86dccc657a8a5254c2794a312241f40e87/images/router/ha
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.