cve.bz

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

9.1 criticalEPSS 1.4%Fix available

Critical (9.1) in red hat. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16: fixed in 1790670439
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16: fixed in 1790670231
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16: fixed in 1790670243
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16: fixed in 1790670508
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16: fixed in 1790670233
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16: fixed in 1790670912
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.16: fixed in 1790670254
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.17: fixed in 1788023916

Ask an AI about this CVE

Show the promptExplain CVE-2026-66786 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66786?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66786?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66786 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat advanced cluster management for kubernetes 2
  • red hat:red hat advanced cluster management for kubernetes 2.16
  • red hat:red hat advanced cluster management for kubernetes 2.17

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Advanced Cluster Management for Kubernetes 2.161790670439
Red Hat Advanced Cluster Management for Kubernetes 2.161790670231
Red Hat Advanced Cluster Management for Kubernetes 2.161790670243
Red Hat Advanced Cluster Management for Kubernetes 2.161790670508
Red Hat Advanced Cluster Management for Kubernetes 2.161790670233
Red Hat Advanced Cluster Management for Kubernetes 2.161790670912
Red Hat Advanced Cluster Management for Kubernetes 2.161790670254
Red Hat Advanced Cluster Management for Kubernetes 2.171788023916
Red Hat Advanced Cluster Management for Kubernetes 2.171788023940
Red Hat Advanced Cluster Management for Kubernetes 2.171788105072
Red Hat Advanced Cluster Management for Kubernetes 2.171788043964
Red Hat Advanced Cluster Management for Kubernetes 2.171788043961
Red Hat Advanced Cluster Management for Kubernetes 2.171788073481
Red Hat Advanced Cluster Management for Kubernetes 2.171788043970

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this flaw as Moderate severity rather than Important because exploitation requires two non-default configurations that must both be explicitly enabled by an administrator. The vulnerable code path exists only in Submariner's certificate-based IPsec authentication mode, which is disabled by default (`IPSecCertAuthMode` defaults to `false`). This mode is designed specifically for integration with OVN-Kubernetes IPsec, which is itself an optional intra-cluster encryption feature that is also disabled by default. The standard Submariner deployment, including multi-cloud and cross-datacenter configurations managed through Red Hat Advanced Cluster Management, uses pre-shared key (PSK) authentication, which establishes IPsec tunnels through a structurally different code path (`ipsec whack` command-line arguments via Go's `exec.Command`) that is not susceptible to this injection. Additionally, exploitation requires that an attacker has already compromised a managed spoke cluster at the cluster-admin level in order to extract the Submariner broker credentials, and must then bypass all normal Submariner automation to craft and submit a malicious Endpoint resource directly to the broker API, enabling cross-cluster lateral movement to other clusters within the same ManagedClusterSet. Clusters in other ManagedClusterSets have separate broker credentials and are not reachable through this attack.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2.16rhacm2/lighthouse-agent-rhel9:1790670439Fixed 2026-10-19RHSA-2026:85227
Red Hat Advanced Cluster Management for Kubernetes 2.16rhacm2/lighthouse-coredns-rhel9:1790670231Fixed 2026-10-19RHSA-2026:85227
Red Hat Advanced Cluster Management for Kubernetes 2.16rhacm2/subctl-rhel9:1790670243Fixed 2026-10-19RHSA-2026:85227
Red Hat Advanced Cluster Management for Kubernetes 2.16rhacm2/submariner-gateway-rhel9:1790670508Fixed 2026-10-19RHSA-2026:85227
Red Hat Advanced Cluster Management for Kubernetes 2.16rhacm2/submariner-globalnet-rhel9:1790670233Fixed 2026-10-19RHSA-2026:85227
Red Hat Advanced Cluster Management for Kubernetes 2.16rhacm2/submariner-rhel9-operator:1790670912Fixed 2026-10-19RHSA-2026:85227
Red Hat Advanced Cluster Management for Kubernetes 2.16rhacm2/submariner-route-agent-rhel9:1790670254Fixed 2026-10-19RHSA-2026:85227
Red Hat Advanced Cluster Management for Kubernetes 2.17rhacm2/lighthouse-agent-rhel9:1788023916Fixed 2026-09-03RHSA-2026:63016
Red Hat Advanced Cluster Management for Kubernetes 2.17rhacm2/lighthouse-coredns-rhel9:1788023940Fixed 2026-09-03RHSA-2026:63016
Red Hat Advanced Cluster Management for Kubernetes 2.17rhacm2/subctl-rhel9:1788105072Fixed 2026-09-03RHSA-2026:63016
Red Hat Advanced Cluster Management for Kubernetes 2.17rhacm2/submariner-gateway-rhel9:1788043964Fixed 2026-09-03RHSA-2026:63016
Red Hat Advanced Cluster Management for Kubernetes 2.17rhacm2/submariner-globalnet-rhel9:1788043961Fixed 2026-09-03RHSA-2026:63016
Red Hat Advanced Cluster Management for Kubernetes 2.17rhacm2/submariner-rhel9-operator:1788073481Fixed 2026-09-03RHSA-2026:63016
Red Hat Advanced Cluster Management for Kubernetes 2.17rhacm2/submariner-route-agent-rhel9:1788043970Fixed 2026-09-03RHSA-2026:63016
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-addon-rhel9Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-operator-bundleAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66786.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON