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.
Published: 2026-09-02
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Submariner’s certificate authentication mode builds connection configuration from free‑form strings supplied in the Custom Resource Definition without validation. A malicious cluster can publish a CableName or Subnets value containing newlines and ipsec.conf directives. The injected stanza can override configuration parameters or trigger leftupdown hooks, enabling an attacker to execute arbitrary commands with root privileges on the gateway node. This flaw represents a code injection weakness (CWE‑94) and results in full control of the affected system.

Affected Systems

The vulnerability affects installations of the Submariner networking overlay that use the cert‑auth mode. No specific version range is enumerated in the advisory, so all current releases that allow unvalidated CableName and Subnets fields are potentially impacted. The affected components are the Submariner controller running within a Kubernetes cluster and the gateway node that processes the ipsec.conf file.

Risk and Exploitability

The vulnerability has a CVSS score of 9.1, indicating critical severity. The EPSS score is not available, but the lack of a KEV listing does not diminish the risk; a high‑profile exploit remains possible. An attacker that can deploy a malicious CRD in a cluster connected to the target can exploit the flaw simply by publishing the crafted CableName; no additional credentials or privileged access are required beyond cluster membership. Given the remote nature of the attack vector—running in a connected Kubernetes environment—the likelihood of exploitation is considered high as soon as the malicious cluster can reach the target gateway.

Generated by OpenCVE AI on August 22, 2026 at 01:42 UTC.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Update Submariner to the latest release that includes input validation for CableName and Subnets fields in cert‑auth mode.
  • If an update is not yet available, restrict access to the Submariner CustomResourceDefinition through RBAC so that only trusted administrators can create or modify CableName and Subnets values.
  • Implement a Kubernetes admission controller that validates CRD payloads to reject newlines or unexpected directives in CableName and Subnets before they are persisted.
  • Disable cert‑auth mode if it is not required for your deployment and use an alternative authentication mechanism that does not expose raw config strings.
  • Audit gateway nodes for unexpected changes to ipsec.conf and monitor for leftupdown hook activity to detect potential exploit attempts.

Generated by OpenCVE AI on August 22, 2026 at 01:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 05:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.17::el9
References

Wed, 02 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Title submariner: submariner: ipsec.conf stanza injection via remote-supplied CableName and Subnets Submariner: submariner: ipsec.conf stanza injection via remote-supplied cablename and subnets
First Time appeared Redhat
Redhat acm
CPEs cpe:/a:redhat:acm:2
Vendors & Products Redhat
Redhat acm
References

Mon, 24 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Submariner
Submariner submariner
Vendors & Products Submariner
Submariner submariner

Sat, 22 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
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.
Title submariner: submariner: ipsec.conf stanza injection via remote-supplied CableName and Subnets
Weaknesses CWE-94
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Moderate


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-05T01:01:30.464Z

Reserved: 2026-07-27T17:51:24.885Z

Link: CVE-2026-66786

cve-icon Vulnrichment

Updated: 2026-09-05T01:01:26.612Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-02T18:21:10.517

Modified: 2026-09-05T01:16:49.053

Link: CVE-2026-66786

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-21T16:43:00Z

Links: CVE-2026-66786 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T21:09:52Z

Weaknesses
  • CWE-94

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