Skip to main content

Kong Mesh CVE-2026-18676

| EUVDEUVD-2026-57423 MEDIUM
Origin Validation Error (CWE-346)
2026-08-12 Kong GHSA-x23j-4pcq-m26j
5.1
CVSS 4.0 · Vendor: Kong
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Operator runs kuma-cp with default config
  2. Delivery
    Attacker hosts malicious page with cross-origin fetch()
  3. Exploit
    Operator visits attacker page with port-forward active
  4. Install
    Browser sends request to localhost:5681 over loopback
  5. C2
    LocalhostIsAdmin promotes request to mesh-system:admin
  6. Execute
    CORS wildcard reflects attacker Origin header
  7. Impact
    Admin JWT and signing keys returned to attacker JavaScript

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires all three of the following conditions to hold simultaneously. First, kuma-cp must run with its default configuration: CorsAllowedDomains set to [".*"] (wildcard) and LocalhostIsAdmin set to true. Second, the control plane API port must be reachable from the operator's browser on the same machine - specifically via kuma-cp run on a developer laptop, Docker --network host or a published port on a workstation, or kubectl port-forward on a machine also used for web browsing. Third, the operator must visit a webpage running attacker-controlled JavaScript while the control plane is reachable. Exploitation is blocked if any of the following are true: the control plane is accessed exclusively via Kubernetes ClusterIP, NodePort, or LoadBalancer from a remote client; the host is SSH-administered with no browser; KUMA_API_SERVER_AUTHN_LOCALHOST_IS_ADMIN=false is set; or KUMA_API_SERVER_CORS_ALLOWED_DOMAINS is restricted to an explicit allowlist. The Helm chart deployment sets the first mitigation by default and is not affected.

Impact

The CVSS 4.0 score of 5.1 (Medium) is anchored by the UI:A constraint - the operator must actively visit a malicious page - but the numeric score understates credential impact. Leaked admin JWTs grant mesh-system:admin access, enabling an attacker to read secrets, exfiltrate signing material, and rewrite service mesh policy across the entire Kong Mesh deployment. The attack surface is specifically developer workstation and port-forwarded environments, not production Kubernetes clusters accessed via ClusterIP or remote SSH hosts; this meaningfully scopes real-world exposure. Even a mid-sized municipal IT team in swidnica evaluating kuma-cp on developer laptops via kubectl port-forward should treat this as an urgent patch, since the vulnerable combination of default configuration and casual web browsing is routine in non-production workflows. No EPSS score was included in the provided intelligence; KEV status is not confirmed; no public exploit has been identified. The divergence between the modest CVSS score and the high-value credential exposure is the central tension: defenders in developer-adjacent environments should weight the credential impact over the numeric score, while production Kubernetes-only deployments using ClusterIP or Helm (which sets KUMA_API_SERVER_AUTHN_LOCALHOST_IS_ADMIN=false) are not meaningfully affected.

Exploit ScenarioDerived

An attacker registers a domain and hosts a webpage containing JavaScript that calls fetch('http://localhost:5681/secrets', {credentials: 'include'}). An operator running kuma-cp in default configuration on their laptop - for instance via kubectl port-forward - visits this page while the control plane is reachable. The browser issues the request over loopback (satisfying LocalhostIsAdmin), the CORS wildcard reflects the attacker's Origin, and the response body containing the admin JWT and signing keys is readable by the attacker's JavaScript, which exfiltrates them to the attacker's server. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Kong Mesh's control plane (kuma-cp) exposes the admin bootstrap token and JWT signing keys to any malicious webpage visited by an operator while the control plane is browser-reachable, due to two compounding default misconfigurations. The default CORS wildcard (CorsAllowedDomains: [".*"]) reflects any attacker-controlled Origin header, and the default LocalhostIsAdmin: true promotes loopback-sourced browser requests to mesh-system:admin without credential validation - a cross-origin fetch() from an attacker page is sufficient to receive full administrative credentials. This affects kuma-cp versions prior to 2.7.25, 2.9.15, 2.11.13, and 2.12.10; no public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

The primary fix is upgrading kuma-cp to a patched release: 2.7.25, 2.9.15, 2.11.13, or 2.12.10 depending on the active release branch, per the GHSA advisory at https://github.com/kumahq/kuma/security/advisories/GHSA-3vcp-chfh-f6r2. Patched versions change CorsAllowedDomains default to empty (opt-in CORS) and harden LocalhostIsAdmin to reject requests bearing proxy-hop headers, cross-site fetch metadata, or a non-localhost Origin. If immediate upgrade is not possible, two environment-variable mitigations can be applied: set KUMA_API_SERVER_AUTHN_LOCALHOST_IS_ADMIN=false (trade-off: initial kumactl bootstrap must switch to token-based auth via kumactl config control-planes add --auth-type=tokens) and set KUMA_API_SERVER_CORS_ALLOWED_DOMAINS to an explicit allowlist such as http://localhost:5681,http://127.0.0.1:5681 (trade-off: breaks any custom GUI on a different origin until explicitly listed). A third operational control - not running kuma-cp on a machine used for general web browsing - eliminates the attack surface without configuration changes but is operationally fragile. The fix PRs are https://github.com/kumahq/kuma/pull/16416 (primary) with backports in PRs 16423-16427.

Affected VersionsENISA

Kong Mesh 2.13.0 <2.13.5
Kong Mesh 2.10.0 <2.11.13
Kong Mesh 0 <2.7.25
Kong Mesh 2.12.0 <2.12.10
Kong Mesh 2.8.0 <2.9.15

Affected Packages

go github.com/kumahq/kuma fix: 2.7.25, 2.9.15, 2.11.13, 2.12.10, 2.13.5
go github.com/kumahq/kuma/v2 fix: 2.7.25, 2.11.13, 2.12.10, 2.13.5
euvd kong_mesh fix: 2.7.25, 2.9.15, 2.11.13, 2.12.10, 2.13.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-346 (Origin Validation Error): kuma-cp's API server performs loopback-address authentication (LocalhostIsAdmin) based solely on the TCP RemoteAddr, without cross-referencing the HTTP Origin header or proxy-hop headers. When a browser on the same host issues a cross-origin fetch() to localhost:5681, the TCP connection legitimately originates from 127.0.0.1, satisfying the loopback check. The API server then elevates the request to mesh-system:admin and the CORS wildcard (CorsAllowedDomains: [".*"]) reflects the attacker's Origin back, making the response readable by the attacker's JavaScript. The affected package is go/github.com/kumahq/kuma (CPE: cpe:2.3:a:kong_inc.:kong_mesh:*:*:*:*:*:*:*:*). The fix tightens isDirectLoopbackRequest() to additionally validate that no proxy-hop headers (X-Forwarded-For, Forwarded, X-Real-IP), cross-site fetch metadata (Sec-Fetch-Site), or a non-localhost Origin are present, and changes the CORS default from a wildcard to an empty allowlist.

Know when Kong Mesh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Kong) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

AC:H because three conditions must simultaneously hold; C:H/I:H because leaked admin JWT enables full mesh control-plane compromise.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Kong).

CVSS VectorVendor: Kong

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

The default kuma-cp configuration in Kong Mesh reveals the admin bootstrap token and signing keys to any webpage the operator visits while the control plane is reachable from their browser. Due to a CORS misconfiguration a cross-origin fetch() from a malicious page returns the admin JWT and signing material.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
enterprise service mesh within the Kong ecosystem, limited broader adoption
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy