CVE-2026-66786 PUBLISHED

Submariner: submariner: ipsec.conf stanza injection via remote-supplied cablename and subnets

Assigner: redhat
Reserved: 27.07.2026 Published: 02.09.2026 Updated: 03.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.1

Product Status

Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2.17
Versions Default: affected
  • unaffected from 1788023916 to * (excl.)
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2.17
Versions Default: affected
  • unaffected from 1788023940 to * (excl.)
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2.17
Versions Default: affected
  • unaffected from 1788105072 to * (excl.)
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2.17
Versions Default: affected
  • unaffected from 1788043964 to * (excl.)
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2.17
Versions Default: affected
  • unaffected from 1788043961 to * (excl.)
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2.17
Versions Default: affected
  • unaffected from 1788073481 to * (excl.)
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2.17
Versions Default: affected
  • unaffected from 1788043970 to * (excl.)
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2
Versions Default: affected
Vendor Red Hat
Product Red Hat Advanced Cluster Management for Kubernetes 2
Versions Default: affected

Workarounds

If Submariner certificate-based IPsec authentication mode is enabled (IPSecCertAuthMode: true in the SubmarinerConfig), administrators can mitigate this flaw by switching to the default pre-shared key (PSK) authentication mode. Set IPSecCertAuthMode: false (or remove the field to use its default value) in the SubmarinerConfig CR and redeploy the Submariner gateway pods. PSK mode provides equivalent inter-cluster IPsec tunnel encryption and is not affected by this vulnerability. Note that disabling cert-auth mode means Submariner will no longer integrate with OVN IPsec's certificate infrastructure and will manage its own PSK-based authentication independently.

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE