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: n/a
Score: 9.1 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
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

No vendor fix or workaround currently provided.

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, 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


Subscriptions

No data.

cve-icon MITRE

No data.

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-66786 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T01:45:04Z

Weaknesses
  • CWE-94

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