PT-2026-48541 · Unknown · Nebula-Mesh

CVE-2026-48058

·

Published

2026-06-10

·

Updated

2026-07-30

CVSS v4.0

4.6

Medium

VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Name of the Vulnerable Software and Affected Versions nebula-mesh versions prior to 0.3.2
Description Cookies in internal/web/session.go and internal/web/oidc.go are configured with HttpOnly and SameSite=Lax but lack the Secure attribute. This allows a session to be disclosed if a plaintext request is made to the origin, which can occur due to mistyped URLs, lack of strict HTTP to HTTPS enforcement, or reverse proxy misconfigurations. An attacker observing an HTTP request can recover the session cookie to impersonate the operator for the duration of its 24-hour TTL. Additionally, the OIDC state cookie is vulnerable for a 10-minute window, potentially enabling Cross-Site Request Forgery (CSRF) during the OIDC callback. The issue affects the following functions:
  • internal/web/session.go: Login(), StartAuthenticatedSession(), CompleteTwoFactor(), and Logout()
  • internal/web/oidc.go: HandleLogin() and HandleCallback()
Recommendations Update to a version where the cookie secure configuration option is implemented. For operators using a TLS-terminating proxy, explicitly set cookie secure: true to ensure cookies are sent only over secure connections.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-48058
GHSA-RQFJ-VV8R-XHQC
GO-2026-5635
OPENSUSE-SU-2026:21483-1

Affected Products

Nebula-Mesh