Skip to main content

nebula-mesh EUVDEUVD-2026-49991

| CVE-2026-48058 MEDIUM
Sensitive Cookie in HTTPS Session Without 'Secure' Attribute (CWE-614)
2026-06-10 https://github.com/juev/nebula-mesh GHSA-rqfj-vv8r-xhqc
4.6
CVSS 4.0 · Vendor: https://github.com/juev/nebula-mesh
View

Attack ChainAIDerived

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

  1. Access
    Gain LAN or MitM network position
  2. Delivery
    Passively capture HTTP response to /ui/login
  3. Exploit
    Extract nebula_session cookie from Set-Cookie header
  4. Execution
    Replay cookie in authenticated request
  5. Impact
    Impersonate operator with full management access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V3 - Web Frontend Security Secure cookie flag
Exploitation Conditions

Exploitation requires the attacker to be in a network position where they can passively observe HTTP traffic between the operator's browser and the nebula-mesh origin listener. This condition is met in the documented 'behind a reverse proxy' deployment (where nebula-mgmt binds plain HTTP, typically 127.0.0.1:8080 or a LAN address), when the operator accesses the UI over an unencrypted path - for example, a LAN hop before the TLS-terminating proxy, a misconfigured HTTP redirect, or a mistyped http:// URL. No authentication to the server is required from the attacker; no special server feature needs to be enabled; the vulnerability exists in all default deployments where TLS is not terminated directly by nebula-mgmt itself. Exploitation is limited by: (1) the attacker must observe at least one HTTP request carrying a Set-Cookie header - passive eavesdropping or ARP spoofing on the LAN suffices; (2) for the CSRF variant, the attacker must act within the 10-minute OIDC state cookie window. Operators who have nebula-mgmt directly serving TLS (tls_cert + tls_key configured) are not affected, as browsers would not transmit cookies over plaintext in that topology.

Impact

No CVSS vector or EPSS score is available for this CVE, so quantitative risk signals are absent and risk must be assessed from the vulnerability description and deployment context alone. This limitation should be stated explicitly: attack vector, complexity, and privilege requirements are inferred from the advisory rather than confirmed by a vendor CVSS rating. The advisory describes a passive network-position requirement - the attacker must be able to observe HTTP traffic to the nebula-mesh origin - which limits opportunistic mass exploitation but is realistic in LAN environments, shared hosting, or misconfigured reverse proxy setups. The CSRF angle on the OIDC state cookie raises the severity further: an attacker who times the 10-minute window can force an OIDC callback to an attacker-controlled flow. A public reproducer is embedded in the GHSA advisory, lowering the exploitation bar. The vulnerability is not in CISA KEV and no EPSS data is available, suggesting it has not yet seen widespread automated exploitation, but the simplicity of the attack (passive cookie capture) and the criticality of the compromised resource (full operator session) make this a meaningful priority for any operator running nebula-mesh with a plain-HTTP listener exposed to other network participants.

Exploit ScenarioDerived

An attacker with passive packet-capture capability on the LAN (or in a man-in-the-middle position between the operator's browser and the nebula-mesh listener) waits for the operator to perform any login action - including routine session refresh or two-factor completion. The Set-Cookie response header carries the nebula_session token in cleartext; the attacker extracts it and replays it in a subsequent request, gaining full operator-level access to the management interface for the remaining 24-hour session TTL. A working curl-based reproducer is included in the GHSA advisory, confirming the absence of any server-side mitigations.

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

Session and OIDC state cookies in nebula-mesh up to v0.3.1 are transmitted without the Secure attribute, allowing a network-adjacent attacker who can observe a single plaintext HTTP request to recover the session cookie and fully impersonate the operator for up to 24 hours. The OIDC state cookie carries an additional CSRF risk during its 10-minute validity window, enabling an attacker to hijack the OIDC callback flow. A working reproducer is included in the GHSA advisory; no public exploit framework distribution is known and this vulnerability is not listed in the CISA KEV catalog at time of analysis.

RemediationAI

Upgrade nebula-mesh to v0.3.2, which introduces a cookie_secure configuration option. The fix is confirmed in commit ffdd67dbf221d9a5855c39fbe11b49c245048d85 (https://github.com/forgekeep/nebula-mesh/commit/ffdd67dbf221d9a5855c39fbe11b49c245048d85) and documented in GHSA-rqfj-vv8r-xhqc (https://github.com/juev/nebula-mesh/security/advisories/GHSA-rqfj-vv8r-xhqc). After upgrading, operators running behind a TLS-terminating reverse proxy must explicitly set cookie_secure: true in their configuration, since the flag is only auto-inferred as true when tls_cert and tls_key are directly configured on nebula-mgmt. Note that toggling cookie_secure on a live deployment causes a one-time forced logout for all active sessions, because browsers cannot match and evict cookies whose Secure attribute has changed. As a compensating control prior to patching, operators should restrict access to the nebula-mesh HTTP listener to trusted localhost-only interfaces and enforce that the reverse proxy enforces HTTPS-only with HSTS, preventing any browser-initiated plaintext requests from reaching the origin.

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 (Go package pkg:go/github.com/juev/nebula-mesh) is a web-based management interface for Nebula mesh networks. The affected code lives in two source files: internal/web/session.go (handling Login, StartAuthenticatedSession, CompleteTwoFactor, and Logout cookie lifecycle) and internal/web/oidc.go (HandleLogin state-set and HandleCallback state-clear). Both files apply HttpOnly and SameSite=Lax cookie attributes correctly but omit the Secure flag entirely. CWE-614 (Sensitive Cookie in HTTPS Session Without Secure Attribute) is the root cause class: without Secure, browsers transmit these cookies over plaintext HTTP connections, making them visible to any observer on the path. The vulnerability is particularly acute in the documented 'behind a reverse proxy' deployment pattern, where TLS is terminated at the proxy and nebula-mgmt binds a plain HTTP listener locally - operators accessing the management UI via HTTP on the LAN will have their cookies exposed in cleartext.

Know when the next one hits your stack

  • 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 4.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
SUSE MEDIUM

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

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 28, 2026 - 19:22 NVD
4.6 (MEDIUM)

DescriptionCVE.org

internal/web/session.go and internal/web/oidc.go set HttpOnly and SameSite=Lax on every cookie but never Secure. A single plaintext request to the origin (operator on a LAN, mistyped URL, HTTP→HTTPS not strictly enforced, reverse proxy misconfiguration) discloses the session.

Affected

All released versions up to v0.3.1.

Impact

An attacker who can observe one HTTP request to the origin recovers the session cookie and impersonates the operator for the remainder of its 24h TTL. The OIDC state cookie has a narrower 10-minute window but enables CSRF on the OIDC callback during that window.

Cookie sites

  • internal/web/session.go - Login, StartAuthenticatedSession, CompleteTwoFactor, Logout
  • internal/web/oidc.go - HandleLogin (state set), HandleCallback (state clear)

Suggested fix

Driven by an explicit cookie_secure config option, inferred true when tls_cert+tls_key are configured and false otherwise. rate_limit.trust_proxy_header is deliberately not used as a signal - that flag controls XFF parsing for rate-limit IPs and does not promise the proxy speaks TLS to clients. Operator behind a TLS-terminating proxy sets cookie_secure: true explicitly.

Logout and OIDC state-clear cookies also pick up matching HttpOnly + SameSite=Lax so browsers reliably replace the original.

Reproducer

Start nebula-mgmt without tls_cert/tls_key (the documented "behind a reverse proxy" deployment). Hit any login flow over the local listener:

curl -i -X POST -d 'username=admin&password=…' http://127.0.0.1:8080/ui/login

The Set-Cookie: nebula_session=… line will lack Secure. A subsequent unencrypted hop reveals the cookie verbatim.

Operational migration

Operators flipping cookie_secure on a running deployment should expect a one-time logout: existing browser cookies have the old attribute set and the new delete-cookie won't match.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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