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

Read the record on cve.org

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.

ProductVersions
Red Hat OpenShift Container Platform 4 Red Hat
Red Hat OpenShift Container Platform 4 Red Hat
Red Hat OpenShift Container Platform 5 Red Hat

Weaknesses

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.