Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.7CVE-2026-105843

OpenShift Router: newline injection via HSTS route annotation causes denial of service

Published 01/12/2026 · Updated 01/12/2026 · Red Hat OpenShift Container Platform 4

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

  1. 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.
  2. Restrict permission to create Route objects to trusted users.
  3. Prevent untrusted namespaces from setting the haproxy.router.openshift.io/hsts_header annotation, e.g. via an admission policy.
  4. 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.
  5. 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

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

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

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.