ZeroHour

CVE-2026-66786

moderate

Root RCE in Submariner cert-auth mode via injected ipsec.conf CableName

CVSS 3.1
9.1 critical
EPSS
<1%p52
Published
()
Modified
AI analysis

Submariner, when operating in certificate-based (cert-auth) authentication mode, builds its IPsec connection configuration from free-form strings taken from the Custom Resource Definition without validating them. A malicious or compromised connected cluster with sufficient privileges can publish a CableName containing newlines and arbitrary ipsec.conf directives, injecting configuration parameters or commands that are executed through leftupdown hooks. Successful exploitation yields arbitrary command execution as root on the target cluster's gateway node, giving the attacker full control of that host (hence the scope change in the CVSS score). Affected parties are organizations running Submariner in cert-auth mode to connect multiple Kubernetes clusters, where a less-trusted peer cluster can influence another cluster's gateway; the high-privilege prerequisite (PR:H) limits the attack to configurations with cross-cluster trust. Exploitation status: no known exploitation in the wild, no public proof-of-concept, not listed in CISA KEV, and a modest 0.7% EPSS probability of exploitation within 30 days.

What to do: Confirm whether your deployment uses cert-auth mode, and upgrade Submariner gateway components to the patched release identified in Red Hat's advisory (fixed versions are not specified in the available data). As interim mitigation, restrict RBAC permissions to write the Submariner CRDs (especially CableName) to trusted clusters only, and audit existing CableName values for embedded newlines or unexpected ipsec.conf directives. Given the flaw allows root execution on gateway nodes, also review what else runs on gateway hosts and monitor them for anomalous processes or hook-based command execution.

Affected
Red Hat / Submariner project (CNA: [email protected]) Submariner (multi-cluster networking for Kubernetes)
Estimated exposure
moderatelikely on the order of 1,000-10,000 gateway nodes (rough estimate; no public install telemetry in the data) — Submariner is a specialized optional add-on for multi-cluster Kubernetes networking, typically deployed with one or a few gateway nodes per participating cluster rather than at consumer scale, so the exposed population is limited to the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in submariner. In cert-auth mode, the connection configuration is built using free-form strings from the Custom Resource Definition (CRD) without proper validation. A malicious cluster can exploit this by publishing a CableName that includes newlines and ipsec.conf directives. This allows an attacker to inject arbitrary configuration parameters or execute commands through leftupdown hooks, leading to remote code execution as root on the gateway node.

Weakness
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.