Skip to main content

nebula-mesh CVE-2026-47768

| EUVDEUVD-2026-49956 MEDIUM
Improper Encoding or Escaping of Output (CWE-116)
2026-06-10 https://github.com/juev/nebula-mesh GHSA-9pg3-25fq-p6cc
5.5
CVSS 3.1 · Vendor: https://github.com/juev/nebula-mesh
View

Attack ChainAIDerived

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

  1. Access
    Attacker obtains read access to nginx access logs or log aggregation system
  2. Delivery
    Authenticated operator creates API key via web UI form POST
  3. Exploit
    handleOperatorCreateAPIKey issues 303 redirect with raw token in query string
  4. Execution
    Nginx logs full URI including token in combined format
  5. Persist
    Attacker searches logs for new_key= parameter and extracts bearer token
  6. Impact
    Attacker authenticates to nebula-mesh API with stolen token and operates as the victim operator

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

The vulnerability is triggered whenever an authenticated operator (PR:L - requires operator-level session) creates a new API key via the web UI form POST to /ui/operators/<id>/api-keys. The 303 redirect encoding the raw token in the query string fires unconditionally on this action in all versions ≤ v0.3.1 - no special configuration is required to be vulnerable. For token theft via the log vector, the attacker must have read access to nginx access logs, CDN logs, or any log aggregation system that ingests nginx combined-format output from the nebula-mesh host. For token theft via the Referer vector, the operator detail page must load at least one cross-origin sub-resource (third-party CSS, JS, or SVG), which depends on the deployment's UI assets. For browser history vector, the attacker must have access to the operator's local browser profile or a history backup tool. Limiting factors: an external unauthenticated attacker cannot observe the redirect URL directly; the operator must actively create a key during the attacker's observation window; and log access or browser history access must be obtained independently.

Impact

The reporter-assigned CVSS 5.5 Medium score (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately reflects the threat model: the confidentiality impact is High (full bearer token compromised), but exploitation is gated behind local access to log infrastructure or browser history storage, pushing the attack vector to Local. No EPSS score is available in the provided intelligence, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation at time of analysis. Real-world risk is environment-dependent and higher than the raw score implies in shared or enterprise deployments: centralized log aggregation systems (e.g., Splunk, Elastic, Loki) routinely ingest nginx access logs, meaning any user with read access to those systems - a potentially large group - becomes a viable attacker. The Referer-based exposure vector is independent of log access and is triggered automatically when the operator detail page loads any cross-origin asset. The CVSS Local vector is appropriate because an unauthenticated external attacker cannot directly read the token from the URL; they must first obtain access to a log store or browser history artifact. No conflicting signals between CVSS and the description were identified.

Exploit ScenarioDerived

An infrastructure engineer with read access to the centralized nginx log aggregator queries for URIs matching /ui/operators/ containing new_key= and extracts the raw bearer token from the query string of any operator who recently created an API key. The engineer then crafts HTTP requests to the nebula-mesh API using Authorization: Bearer <stolen-token>, gaining full API access as the targeted operator without triggering any authentication event. Alternatively, if the operator detail page loads a third-party analytics or font CDN resource, the token is silently transmitted in the Referer header to that external origin as a side effect of normal page rendering.

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

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

Alert me

AnalysisAIv1 – Jun 10, 2026

Sensitive information disclosure in nebula-mesh (all versions ≤ v0.3.1) leaks newly-minted 32-byte operator API bearer tokens into browser URL history, cross-origin Referer headers, and reverse-proxy access logs by embedding the raw token in a 303 redirect query string. Any actor with read access to nginx combined-format logs, CDN logs, or browser history backup storage can harvest the token and impersonate the operator via the API. A secondary CWE-116 flaw in the same handler omits url.QueryEscape on the user-supplied key name, enabling query-string corruption and potential header injection in older proxies. No public exploit identified at time of analysis; a detailed step-by-step reproducer is included in the GitHub Security Advisory GHSA-9pg3-25fq-p6cc. Fix is available in v0.3.2.

RemediationAI

Upgrade nebula-mesh to v0.3.2, the vendor-released patch confirmed in the GitHub Security Advisory GHSA-9pg3-25fq-p6cc (https://github.com/juev/nebula-mesh/security/advisories/GHSA-9pg3-25fq-p6cc). The advisory recommends replacing the redirect-with-token pattern with a server-side one-shot flash storage mechanism - storing the token in operator_sessions with a consumed_at field, rendering it once on the detail page, then clearing it - mirroring the TOTP recovery-code display flow. An alternative minimal fix is a POST → 200 OK with HTML response that renders the token inline without a redirect, eliminating query-string exposure at the cost of the post-redirect-get idiom. The url.QueryEscape fix for the name parameter should be applied regardless of which approach is chosen. If immediate upgrade is not feasible, the following compensating controls apply with noted trade-offs: configure nginx to omit query strings from access logs (e.g., replace $request with a custom log variable excluding query parameters - this reduces log forensic value), restrict read access to nginx and CDN access logs to break the log-based attack path, and audit any third-party resources loaded by the operator detail page to eliminate Referer-based exposure. These controls are layered mitigations, not substitutes for patching, and do not address all exposure vectors (e.g., browser history backup tools).

Affected VersionsENISA

nebula-mesh < 0.3.2

Affected Packages

go github.com/juev/nebula-mesh fix: 0.3.2
euvd nebula_mesh fix: 0.3.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 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

nebula-mesh is a Go-based mesh network management application (pkg:go/github.com/juev/nebula-mesh). The flaw originates in the handleOperatorCreateAPIKey handler at internal/web/operators.go:251, which issues a 303 redirect to /ui/operators/<id>?new_key=<raw-token>&key_name=<name> after minting the token. The root cause is CWE-116 (Improper Encoding or Escaping of Output): sensitive credential material is placed verbatim into a URL, a context that carries the data into browser history, the HTTP Referer header on subsequent cross-origin sub-resource requests, and access logs. Nginx's default combined log format records the full request URI including query string, making every proxy in the request path a potential token archive. Authorization: Bearer headers used for normal API calls do not share this exposure because web servers typically omit request headers from access logs and browsers do not replay them cross-origin. The secondary issue - missing url.QueryEscape on r.FormValue("name") - can corrupt query parsing when the name contains an ampersand, and a CRLF sequence in the name field could split response headers in older or misconfigured proxy implementations.

Know when Nginx 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 (https://github.com/juev/nebula-mesh) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.5 MEDIUM

AV:L because exploitation requires log or browser history access on shared infrastructure; PR:L because the operator triggering key creation must be authenticated; C:H because the full bearer token is exposed with no integrity or availability impact.

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

Primary rating from Vendor (https://github.com/juev/nebula-mesh).

CVSS VectorVendor: https://github.com/juev/nebula-mesh

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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

/ui/operators/<id>?new_key=<raw-token>&key_name=<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.

Affected

All released versions up to v0.3.1.

Reproducer

As admin, create an API key via /ui/operators/<id>/api-keys (form POST). The 303 Location header carries the raw token in the query string. Open browser DevTools → Network → response headers; or check the reverse-proxy access log; or check the operator-detail page's Referer-emitting fetches.

Suggested fix

Stash the raw key in a one-shot server-side flash storage (e.g., a row in operator_sessions keyed by session token, with a one_shot_token column and consumed_at) or in a short-lived signed cookie. Render the key once inline on the detail page after the redirect, and clear the storage on render. Pattern mirrors the recovery-codes display in the TOTP flow.

If the flash-storage refactor is too invasive, the minimal fix is to render the key inline via a POST → 200 OK with HTML (no redirect), losing the post-redirect-get idiom but eliminating the URL exposure.

Also fix name query encoding with url.QueryEscape regardless of which fix shape lands.

CVSS estimate

AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - 5.5 (medium). AV:L because realistic exploit requires log-read access on shared infrastructure (proxy, CDN, browser-history backup) the operator's session touches.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

More in Nginx

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2013-2028 HIGH POC
7.5 Jul 20

The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cau

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2013-4547 HIGH POC
7.5 Nov 23

nginx 0.8.41 through 1.4.3 and 1.5.x before 1.5.7 allows remote attackers to bypass intended restrictions via an unescap

CVE-2023-50919 CRITICAL POC
9.8 Jan 12

An issue was discovered on GL.iNet devices before version 4.5.0. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2017-7529 HIGH
7.5 Jul 13

Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow vulnerability in nginx range fi

CVE-2016-0742 HIGH
7.5 Feb 15

The resolver in nginx before 1.8.1 and 1.9.x before 1.9.10 allows remote attackers to cause a denial of service (invalid

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2022-31137 CRITICAL POC
9.8 Jul 08

Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Rated critical severity (CVSS 9.8

CVE-2014-3556 MEDIUM
6.8 Dec 29

The STARTTLS implementation in mail/ngx_mail_smtp_handler.c in the SMTP proxy in nginx 1.5.x and 1.6.x before 1.6.1 and

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

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