5.1medium
Kuma: Default kuma-cp leaks admin token cross-origin via CORS wildcard + LocalhostIsAdmin
- Severity
- 5.1medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3vcp-chfh-f6r2GO-2026-5102
Description
Kuma is a modern Envoy-based service mesh that can run on every cloud across both Kubernetes and VMs. Prior to 2.7.25, 2.9.15, 2.11.13, 2.12.10, and 2.13.5, the default kuma-cp config leaks the admin bootstrap token and signing keys to any webpage the operator visits while the control plane is reachable from their browser. CorsAllowedDomains: [".*"] reflects any Origin, and LocalhostIsAdmin: true promotes requests from 127.0.0.1 to mesh-system:admin. A cross-origin fetch() from a malicious page returns the admin JWT and signing material. This vulnerability is fixed in 2.7.25, 2.9.15, 2.11.13, 2.12.10, and 2.13.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kumahq kuma | < 2.7.25, >= 2.9.0, < 2.9.15, >= 2.11.0, < 2.11.13, >= 2.12.0, < 2.12.10, >= 2.13.0, < 2.13.5 | CVE List |
| github.com/kumahq/kuma (Go) | before 2.7.25, from 2.9.0 before 2.9.15, from 2.11.0 before 2.11.13, from 2.12.0 before 2.12.10, from 2.13.0 before 2.13.5, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/kumahq/kuma/v2 (Go) | before 2.7.25, from 2.9.13 before 2.11.13, from 2.12.4 before 2.12.10, from 2.13.0 before 2.13.5 | Go Vulnerability Database |
All scores
| GitHub_M | 5.1medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
Classification
What each source says
CVE List
Kuma is a modern Envoy-based service mesh that can run on every cloud across both Kubernetes and VMs. Prior to 2.7.25, 2.9.15, 2.11.13, 2.12.10, and 2.13.5, the default kuma-cp config leaks the admin bootstrap token and signing keys to any webpage the operator visits while the control plane is reachable from their browser. CorsAllowedDomains: [".*"] reflects any Origin, and LocalhostIsAdmin: true promotes requests from 127.0.0.1 to mesh-system:admin. A cross-origin fetch() from a malicious page returns the admin JWT and signing material. This vulnerability is fixed in 2.7.25, 2.9.15, 2.11.13, 2.12.10, and 2.13.5.
GitHub Advisory Database
Summary
Default kuma-cp config leaks the admin bootstrap token and signing keys to any webpage the operator visits while the control plane is reachable from their browser. CorsAllowedDomains: [".*"] reflects any Origin, and LocalhostIsAdmin: true promotes requests from 127.0.0.1 to mesh-system:admin. A cross-origin fetch() from a malicious page returns the admin JWT and signing material.
Am I affected?
You are affected if all of these hold:
kuma-cpruns with default config (CorsAllowedDomains: [".*"]andLocalhostIsAdmin: true).- The control plane is reachable from a browser on the same machine:
kuma-cp runon a developer laptop- Docker
--network hostor port-publish on a workstation kubectl port-forwardfrom a machine that also browses the web
- The operator visits a page running attacker JavaScript while the control plane is reachable.
You are not affected if:
- The control plane runs on a Kubernetes cluster accessed via ClusterIP, NodePort, or LoadBalancer from a remote client.
- The control plane runs on an SSH-administered VM with no browser on the host.
KUMA_API_SERVER_AUTHN_LOCALHOST_IS_ADMIN=falseis set (see https://kuma.io/docs/latest/production/secure-deployment/api-server-auth/).KUMA_API_SERVER_CORS_ALLOWED_DOMAINSis set to an explicit allowlist that excludes attacker origins.
Mitigation
- Set
KUMA_API_SERVER_AUTHN_LOCALHOST_IS_ADMIN=falseafter retrieving the admin token. - Set
KUMA_API_SERVER_CORS_ALLOWED_DOMAINSto an explicit allowlist, for examplehttp://localhost:5681,http://127.0.0.1:5681. - Do not run
kuma-cpon a machine where you browse untrusted sites.
Fix
Fixed in #16416, backported to all supported release branches (#16423, #16424, #16425, #16426, #16427).
Changes in patched versions:
CorsAllowedDomainsdefault changed from[".*"]to[]— CORS is now opt-in; set the env var explicitly if you need GUI access.LocalhostIsAdminhardened: now requires direct loopbackRemoteAddrandHost, and rejects requests carrying proxy-hop headers (X-Forwarded-For), cross-site fetch metadata (Sec-Fetch-Site), or a non-localhostOrigin.
Upgrade to a patched version:
- 2.7.25
- 2.9.15
- 2.11.13
- 2.12.10
- 2.13.5
Credits
Reported by eldudareeno.
CVSS
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 = 5.1 Medium.
Go Vulnerability Database
Default kuma-cp leaks admin token cross-origin via CORS wildcard + LocalhostIsAdmin in github.com/kumahq/kuma
NVD (es)
Kuma es una malla de servicios moderna basada en Envoy que puede ejecutarse en cualquier nube tanto en Kubernetes como en VMs. Antes de 2.7.25, 2.9.15, 2.11.13, 2.12.10 y 2.13.5, la configuración predeterminada de kuma-cp filtra el token de arranque de administrador y las claves de firma a cualquier página web que el operador visite mientras el plano de control es accesible desde su navegador. CorsAllowedDomains: [’.*’] refleja cualquier Origen, y LocalhostIsAdmin: true promueve las solicitudes de 127.0.0.1 a mesh-system:admin. Una llamada fetch() de origen cruzado desde una página maliciosa devuelve el JWT de administrador y el material de firma. Esta vulnerabilidad está corregida en 2.7.25, 2.9.15, 2.11.13, 2.12.10 y 2.13.5.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45021 changed 2026-05-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3vcp-chfh-f6r2 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5102 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2026-45021 changed 2026-10-25 | Public domain |