CVE-2026-18676

Kong Mesh: default control plane config leaks the admin token cross-origin via a CORS wildcard and localhost admin

Published Aug 12, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Kong Mesh's default control‑plane configuration allows the admin bootstrap token and signing keys to be exposed through a CORS wildcard. A malicious web page can issue a cross‑origin request that returns the admin JWT and signing material. The weakness is a combination of improper CORS configuration (CWE‑346) and unsafe local‑host privilege validation (CWE‑942), resulting in privileged token leakage that can be used to perform any action on the control plane.

Affected Systems

Kong Mesh provided by Kong Inc. is affected on all releases older than 2.7.25, 2.9.15, 2.11.13, 2.12.10, and 2.13.5. The patched releases, including any line newer than 2.14, are not vulnerable. If a deployment is using a version before these patches, the default configuration remains insecure unless changed manually.

Risk and Exploitability

The vulnerability scores a CVSS of 5.1 and has no EPSS score available, indicating a moderate severity and uncertain exploitation likelihood. It is not listed in CISA's KEV catalog. The attack vector is likely local: an operator must visit a malicious page while having browser access to the control plane. A malicious site can then retrieve the admin token and signing keys, enabling full administrative control over the mesh. The exploit requires that CORS is enabled with a wildcard and that the operator has not applied the more restrictive default in newer releases.

Remediation

Vendor Solution

Upgrade to Kong Mesh 2.7.25, 2.9.15, 2.11.13, 2.12.10 or 2.13.5, whichever matches your release line. In patched versions the corsAllowedDomains default changed from [".*"] to [], making CORS opt-in, and localhostIsAdmin was hardened to require a direct loopback RemoteAddr and Host and to reject requests carrying proxy-hop headers (X-Forwarded-For), cross-site fetch metadata (Sec-Fetch-Site), or a non-localhost Origin. The 2.14 line shipped after the fix and was never affected.


Vendor Workaround

Set KUMA_API_SERVER_AUTHN_LOCALHOST_IS_ADMIN=false after retrieving the admin token, set KUMA_API_SERVER_CORS_ALLOWED_DOMAINS to an explicit allowlist such as http://localhost:5681,http://127.0.0.1:5681, and do not run kuma-cp on a machine used to browse untrusted sites.


OpenCVE Recommended Actions

  • Upgrade Kong Mesh to any of the patched releases—2.7.25, 2.9.15, 2.11.13, 2.12.10, 2.13.5, or any newer 2.14 and beyond.
  • If an immediate upgrade is not possible, set KUMA_API_SERVER_AUTHN_LOCALHOST_IS_ADMIN to false after obtaining the admin token and configure KUMA_API_SERVER_CORS_ALLOWED_DOMAINS with a strict allow‑list such as http://localhost:5681,http://127.0.0.1:5681, ensuring the control‑plane instance is not used as a general browser host.
  • Restrict network access to the control‑plane API so that only trusted internal hosts can reach port 5681, blocking the default CORS wildcard from external networks.

Generated by OpenCVE AI on August 12, 2026 at 23:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Konghq
Konghq kong Mesh
Vendors & Products Konghq
Konghq kong Mesh
Type Values Removed Values Added
Description 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.
Title Kong Mesh: default control plane config leaks the admin token cross-origin via a CORS wildcard and localhost admin
Weaknesses CWE-346
CWE-942
References
Metrics cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-346

    Origin Validation Error

  • CWE-942

    Permissive Cross-domain Security Policy with Untrusted Domains

Sources

Status
PUBLISHED
Assigner
Kong
Published
Updated
Aug 13, 2026, 2:50 PM
Reserved
Aug 3, 2026, 3:20 PM
Status
Awaiting Analysis
Published
Aug 12, 2026, 7:17 PM
Modified
Oct 23, 2026, 7:10 PM