Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kumahq/kuma
  4. ›
  5. CVE-2026-45021

CVE-2026-45021: Default kuma-cp leaks admin token cross-origin via CORS wildcard + LocalhostIsAdmin

May 14, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-3vcp-chfh-f6r2
  • github.com/kumahq/kuma/commit/8fefa8595d44eb68d922405702ed7a0826322907
  • github.com/kumahq/kuma/pull/16416
  • github.com/kumahq/kuma/pull/16423
  • github.com/kumahq/kuma/pull/16424
  • github.com/kumahq/kuma/pull/16425
  • github.com/kumahq/kuma/pull/16426
  • github.com/kumahq/kuma/pull/16427
  • github.com/kumahq/kuma/security/advisories/GHSA-3vcp-chfh-f6r2
  • nvd.nist.gov/vuln/detail/CVE-2026-45021

Code Behaviors & Features

Detect and mitigate CVE-2026-45021 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.7.25, all versions starting from 2.9.0 before 2.9.15, all versions starting from 2.11.0 before 2.11.13, all versions starting from 2.12.0 before 2.12.10, all versions starting from 2.13.0 before 2.13.5

Fixed versions

  • 2.7.25
  • 2.9.15
  • 2.11.13
  • 2.12.10
  • 2.13.5

Solution

Upgrade to versions 2.7.25, 2.9.15, 2.11.13, 2.12.10, 2.13.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error
  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains

Source file

go/github.com/kumahq/kuma/CVE-2026-45021.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:12 +0000.