# CVE-2026-105843: Openshift/router: openshift/router: newline injection via the hsts route annotation causes cluster-wide haproxy reload failure

- Severity: High 7.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-12-01T02:12:11.646Z
- Modified: 2026-12-01T15:17:47.273Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- openshift4/ose-haproxy-router: no versions given
- openshift4/ose-haproxy-router-rhel9: no versions given
- openshift5/ose-haproxy-router-rhel9: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-105843> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2546196> (issue-tracking)
- <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>

## Sources

- CVE List: [CVE-2026-105843](https://www.cve.org/CVERecord?id=CVE-2026-105843), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-105843](https://nvd.nist.gov/vuln/detail/CVE-2026-105843), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-105843 · Whole record: https://cve.day/CVE-2026-105843.json · Rebuilt by cve.day 2026-12-01T15:32:14.103Z
