Openshift/router: openshift/router: newline injection via the hsts route annotation causes cluster-wide haproxy reload failure
- CVE-2026-105843
- GHSA-r2vm-4hj8-9rgf
- EUVD-2026-139829
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.
Text from the CVE.org record.
Recommendation
Cvelo has no version information for this record. Check the vendor advisory.
Affected
Red Hat Red Hat OpenShift Container Platform 4
No versions listed
Red Hat Red Hat OpenShift Container Platform 5
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.