Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/juev/nebula-mesh
  4. ›
  5. CVE-2026-47768

CVE-2026-47768: nebula-mesh: Newly-minted operator API key exposed in redirect URL (Referer, history, proxy logs)

June 10, 2026

internal/web/operators.go:251 — after handleOperatorCreateAPIKey mints a fresh 32-byte bearer token, the redirect points the operator’s browser at:

/ui/operators/?new_key=&key_name=

The raw API key ends up:

  • in the browser’s URL history
  • in the Referer header on every cross-origin asset the detail page loads (any third-party SVG/CSS/JS resource the layout pulls in)
  • in any reverse-proxy or load-balancer access log on the path (nginx default combined log captures the query string)
  • in any structured log sink the operator’s local browser-history backup tool ships out

Authorization: Bearer <token> headers go through the same hops without these problems because access logs typically don’t capture request headers and the browser doesn’t replay headers cross-origin.

Same handler also appends name (r.FormValue("name")) to the query string without url.QueryEscape, so an & in the operator-supplied key name corrupts query parsing and a \r\n in older proxies could split response headers.

References

  • github.com/advisories/GHSA-9pg3-25fq-p6cc
  • github.com/juev/nebula-mesh/security/advisories/GHSA-9pg3-25fq-p6cc
  • nvd.nist.gov/vuln/detail/CVE-2026-47768

Code Behaviors & Features

Detect and mitigate CVE-2026-47768 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 0.3.2

Fixed versions

  • 0.3.2

Solution

Upgrade to version 0.3.2 or above.

Impact 5.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-532: Insertion of Sensitive Information into Log File
  • CWE-598: Use of GET Request Method With Sensitive Query Strings

Source file

go/github.com/juev/nebula-mesh/CVE-2026-47768.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:51 +0000.