HighGHSA-c6v2-3ffm-vcmcCVE-2026-49258GO-2026-5816

Nebula Mesh: Web UI lacks ownership checks, enabling cross-operator access to hosts and networks (read, block, delete)

Published 26 Jun 2026 · Updated 7 Jul 2026

Is your project on an affected github.com/juev/nebula-mesh?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<=0.3.4
Fixed in
No fix released

Details

Summary

The web UI (/ui/*) does not apply the per-operator CA scoping the JSON API received for GHSA-598g-h2vc-h5vg. Any authenticated non-admin operator (for example, one created via self-registration or OIDC) can access resources belonging to other operators.

Impact

A non-admin operator can:

  • Block or delete any other operator's host. POST /ui/hosts/{id}/block and DELETE /ui/hosts/{id} act on the URL id with no ownership check, so a non-admin can block (revoking the host's certificate via the blocklist) or delete any host in the deployment — a cross-operator denial of service.
  • Read every operator's hosts and networks. The dashboard, /ui/hosts, the host detail page, /ui/networks (including the create-form error re-render), and the /ui/events stream all return data across all operators, exposing host names, Nebula IPs, public IPs, certificate fingerprints and expiry, and network names and CIDRs.

This is the same cross-operator class as GHSA-598g; that remediation covered the JSON API but not the web read/mutation surface. The host create/edit/mobile-bundle/network-create paths and all CA-management routes were already correctly scoped.

Affected handlers (internal/web): handleHostDetail, handleHostBlock, handleHostDelete, handleDashboard, handlePartialStats, handleHosts, handleNetworks, renderNetworksError, handleHostEvents.

Conditions

Exposure requires at least one non-admin operator to exist (self-registration enabled, OIDC, or an admin-created user). A single-admin deployment with no additional operators is not affected.

Fix

A complete candidate fix with regression tests is ready in a private repository shared with the maintainer (ak2k/nebula-mesh-ghsa-web, PR #1): scope these handlers to the session operator's owned CAs (admins keep the full view), mirroring the API's ownership checks.

Is GHSA-c6v2-3ffm-vcmc in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/juev/nebula-mesh, and gives you the command that fixes it.

More advisories for github.com/juev/nebula-mesh

  • LowCVE-2026-55513Insecure enrollment token TTL in nebula-mesh in github.com/forgekeep/nebula-mesh · 23 Jul 2026
  • LowCVE-2026-55512Unauthenticated OIDC login in nebula-mesh allows unbounded memory allocation in github.com/forgekeep/nebula-mesh · 23 Jul 2026
  • LowGO-2026-5815nebula-mesh: Signed-poll nonce LRU is in-memory and bounded; replay survives restart + eviction in github.com/juev/nebula-mesh · 7 Jul 2026
  • LowGHSA-v2jf-442r-6mjhnebula-mesh: Signed-poll nonce LRU is in-memory and bounded; replay survives restart + eviction · 26 Jun 2026
  • LowCVE-2026-48058nebula-mesh: Session and OIDC state cookies lack the Secure attribute in github.com/juev/nebula-mesh · 25 Jun 2026
  • LowCVE-2026-47723nebula-mesh: Web UI and API responses lack security headers (CSP, X-Frame-Options, HSTS, etc.) in github.com/juev/nebula-mesh · 25 Jun 2026
All 24 advisories for github.com/juev/nebula-mesh

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.