Vulnerabilities in pkg:golang/github.com/juev/nebula-mesh
PACKAGECVE-2026-49258 is a HIGH (CVSS 8.8) web ui lacks ownership checks, vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Nebula Mesh libraries in the Go ecosystem. The issue involves web ui lacks ownership checks, enabling cross-operator access to hosts and networks (read, block, delete). Remediation is available in the latest vendor maintenance releases.
pkg:golang/github.com/juev/nebula-mesh
Vulnerability advisories affecting package pkg:golang/github.com/juev/nebula-mesh. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-c6v2-3ffm-vcmc | CVE-2026-49258 | HIGH | Nebula Mesh: Web UI lacks ownership checks, enabling cross-operator access to hosts and networks (read, block, delete) |
| GHSA-v2jf-442r-6mjh | - | LOW | nebula-mesh: Signed-poll nonce LRU is in-memory and bounded; replay survives restart + eviction |
| GHSA-8h84-fhqq-q58v | CVE-2026-48025 | MODERATE | nebula-mesh: Decrypted CA private key persists in heap after signing |
| GHSA-ghmh-jhmj-wcmf | - | MODERATE | nebula-mesh's stores enrollment tokens unhashed in SQLite |
| GHSA-6vgg-xhvh-38ff | - | LOW | nebula-mesh: POST /api/v1/hosts/{id}/mobile-bundle response lacks Cache-Control: no-store |
| GHSA-9pg3-25fq-p6cc | CVE-2026-47768 | MODERATE | nebula-mesh: Newly-minted operator API key exposed in redirect URL (Referer, history, proxy logs) |
| GHSA-rqfj-vv8r-xhqc | CVE-2026-48058 | MODERATE | nebula-mesh: Session and OIDC state cookies lack the Secure attribute |
| GHSA-qm33-p5p9-f8vg | CVE-2026-47726 | HIGH | nebula-mesh: GET /api/v1/audit-log discloses all entries to any operator |
| GHSA-273q-qgh5-wrj6 | CVE-2026-47725 | HIGH | nebula-mesh's web UI lacks CSRF tokens on /ui/* mutating endpoints |
| GHSA-598g-h2vc-h5vg | CVE-2026-47724 | CRITICAL | nebula-mesh: API endpoints lack ownership checks, enabling cross-operator privilege escalation |
| GHSA-w7w5-5gcp-38rw | CVE-2026-47723 | HIGH | nebula-mesh: Web UI and API responses lack security headers (CSP, X-Frame-Options, HSTS, etc.) |
| GHSA-7hp6-g3pq-3pc3 | CVE-2026-47722 | HIGH | nebula-mesh: Host advanced overrides allow YAML injection into agent config.yml |
CVE-2026-49258 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-49258
To remediate this vulnerability, upgrade all affected Nebula Mesh dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/juev/nebula-mesh to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/juev/nebula-mesh
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-49258, inspect your project dependencies for Nebula Mesh:
inspect dependencies for github.com/juev/nebula-mesh
Analyze the terminal output to locate any version of Nebula Mesh in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Nebula Mesh, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-49258 Affected Nebula Mesh Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/juev/nebula-mesh
|
Go |
≤ 0.3.4
|
|
References
Frequently Asked Questions
What is CVE-2026-49258?
Which Nebula Mesh versions are affected?
What version fixes CVE-2026-49258?
Is github.com/juev/nebula-mesh affected?
What is the CVSS score of CVE-2026-49258?
What CWE is associated with CVE-2026-49258?
How can I check Go dependencies for CVE-2026-49258?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c6v2-3ffm-vcmc",
"modified" : "2026-06-26T21:29:02Z",
"published" : "2026-06-26T21:29:02Z",
"aliases" : [ "CVE-2026-49258" ],
"summary" : "Nebula Mesh: Web UI lacks ownership checks, enabling cross-operator access to hosts and networks (read, block, delete)",
"details" : "## Summary\n\nThe 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.\n\n## Impact\n\nA non-admin operator can:\n\n- **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.\n- **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.\n\nThis 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.\n\nAffected handlers (`internal/web`): `handleHostDetail`, `handleHostBlock`, `handleHostDelete`, `handleDashboard`, `handlePartialStats`, `handleHosts`, `handleNetworks`, `renderNetworksError`, `handleHostEvents`.\n\n## Conditions\n\nExposure 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.\n\n## Fix\n\nA 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/juev/nebula-mesh"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/juev/nebula-mesh/security/advisories/GHSA-c6v2-3ffm-vcmc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/juev/nebula-mesh"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639", "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-26T21:29:02Z",
"nvd_published_at" : null
}
}