Skip to main content

nebula-mesh EUVDEUVD-2026-49942

| CVE-2026-47726 HIGH
Improper Authorization (CWE-285)
2026-06-08 https://github.com/juev/nebula-mesh GHSA-qm33-p5p9-f8vg
7.1
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
    Obtain any valid operator API key
  2. Delivery
    Send GET /api/v1/audit-log?limit=1000
  3. Exploit
    Bypass missing admin role check
  4. Execution
    Receive full cross-tenant audit log
  5. Impact
    Enumerate tenants and identify high-value targets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must already possess any valid operator API key for the target server (CVSS PR:L) and send an authenticated bearer-token request to the GET /api/v1/audit-log endpoint; the disclosure occurs against the default configuration of every release up to v0.3.1 with no admin role required. Exploitation is limited by that credential prerequisite (unauthenticated outsiders cannot trigger it) and by the endpoint's cap of 1000 entries per call; there is no user interaction, no special feature flag, and no non-default setting needed.

Impact

Signals are consistent and point to a genuine but bounded confidentiality issue rather than a critical emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) correctly reflects network-reachable, low-complexity access that still requires a valid operator credential (PR:L) and yields only confidentiality impact (VI:N/VA:N), scoring 7.1. EPSS is very low (0.04%, 12th percentile) and there is no CISA KEV listing, so widespread automated exploitation is unlikely; however, a trivial published curl reproducer means exploitation is easy for anyone who already holds any operator key. The primary limiting factor is that credential prerequisite plus the niche footprint of the product, so this is a real fix-it priority for anyone running multi-tenant nebula-mesh but not an internet-wide crisis.

Exploit ScenarioDerived

A tenant operator issued a low-privilege API key on a shared nebula-mesh server runs the published curl request against /api/v1/audit-log?limit=1000 and receives the full server-wide audit trail. From the returned actor names, CA/host/operator IDs, and timestamps they map other tenants, infer administrator activity and staffing patterns, and single out high-value CAs or hosts to target next. A public proof-of-concept curl command exists in the advisory, and the low CVSS attack complexity makes this reliable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Jul 30, 2026

Broken authorization in nebula-mesh (Go, all versions up to and including v0.3.1) lets any authenticated operator read the entire server-wide audit log. The GET /api/v1/audit-log endpoint (handleGetAuditLog in internal/api/audit.go) is protected only by bearer-token authentication and omits the admin role check, so a low-privileged operator key returns up to 1000 cross-tenant entries including actor names, host/CA/operator IDs, timestamps, and masked-IP records. A working one-line curl reproducer is published in the GHSA advisory (publicly available exploit code exists); it is not in CISA KEV and EPSS is low at 0.04%.

RemediationAI

Vendor-released patch: upgrade to nebula-mesh v0.3.2, which adds an actorIsAdmin check to handleGetAuditLog and returns 403 to non-admin operators (fix commit https://github.com/forgekeep/nebula-mesh/commit/8baaace54c2a23e7c351b3efab5a31ab07b125dc; advisory GHSA-qm33-p5p9-f8vg). If you cannot upgrade immediately, restrict who holds operator API keys and rotate or revoke keys issued to untrusted tenants, since any valid operator key triggers the disclosure. As a network compensating control, place the /api/v1/audit-log route behind a reverse-proxy ACL that permits only admin source IPs, accepting that this breaks any legitimate per-operator audit access; alternatively apply the vendor's option-2 approach of scoping ListAuditEntries to the actor's own username and owned CA IDs if per-operator audit views are required.

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 self-hosted control-plane server for managing Nebula overlay-mesh certificate authorities, hosts, and operators, written in Go (module github.com/juev/nebula-mesh, CPE pkg:go/github.com_juev_nebula-mesh). The flaw is a CWE-285 Improper Authorization defect: the multi-tenant model treats operator management as admin-only, and audit data spans all tenants, but the audit-log route enforces only authentication (bearerAuth middleware) and never calls actorIsAdmin. store.ListAuditEntries therefore returns unscoped results to any caller holding a valid operator API key, disclosing data across CA/tenant boundaries.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable endpoint needs any valid operator key (PR:L) with low complexity; impact is cross-tenant data disclosure only, so C:H with I:N/A:N.

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

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
None
Privileges Required
Low
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

2
Analysis Updated
Jul 28, 2026 - 19:27 vuln.today
v2 - CVSS changed
CVSS changed
Jul 28, 2026 - 19:22 NVD
7.1 (HIGH)

DescriptionCVE.org

internal/api/audit.go:12 - handleGetAuditLog does no admin check. The route is bearer-auth gated only; any operator API key returns the full audit log via store.ListAuditEntries (up to limit=1000). This includes cross-tenant actor names, host/CA/operator IDs, action timestamps, and masked-IP entries from rate-limit refusals - enough surface for a tenant to enumerate the server's activity, infer staffing patterns, or identify high-value targets.

Affected

All released versions up to v0.3.1.

Reproducer

curl -H "Authorization: Bearer <any-operator-key>" \
  https://server/api/v1/audit-log?limit=1000

Suggested fix

Two options, either acceptable:

  1. if !actorIsAdmin(ctx) { 403 } - strictest; matches the "operator management is admin-only" stance.
  2. Scope to actor: filter store.ListAuditEntries by actor.Username plus a subquery of CA IDs the actor owns. Operators see their own audit entries plus entries against their CA's resources.

Recommend option 1 unless the UI needs per-operator audit views.

Suggested patch

Verified locally: go vet, go test -race -count=1 ./..., golangci-lint v2.12 all clean.

diff
diff --git a/internal/api/audit.go b/internal/api/audit.go
index 3236631..57b57ce 100644
--- a/internal/api/audit.go
+++ b/internal/api/audit.go
@@ -10,6 +10,10 @@ import (
 const defaultAuditLimit = 100

 func (s *Server) handleGetAuditLog(w http.ResponseWriter, r *http.Request) {
+	if !actorIsAdmin(r.Context()) {
+		writeError(w, http.StatusForbidden, "audit log access requires the admin role")
+		return
+	}
 	filter := store.AuditFilter{
 		Action: r.URL.Query().Get("action"),
 		Limit:  defaultAuditLimit,
diff --git a/internal/api/audit_admin_test.go b/internal/api/audit_admin_test.go
new file mode 100644
index 0000000..47e1ca4
--- /dev/null
+++ b/internal/api/audit_admin_test.go
@@ -0,0 +1,62 @@
+package api
+
+import (
+	"context"
+	"crypto/sha256"
+	"encoding/hex"
+	"net/http"
+	"net/http/httptest"
+	"testing"
+
+	"github.com/google/uuid"
+	"github.com/juev/nebula-mesh/internal/models"
+)
+
+// TestHandleGetAuditLog_NonAdminForbidden confirms a non-admin operator
+// API key cannot read the audit log. The legacy config-key path stays
+// admin and is covered by the happy-path test elsewhere.
+func TestHandleGetAuditLog_NonAdminForbidden(t *testing.T) {
+	srv, _ := newTestServer(t)
+
+	nonAdminKey := uuid.New().String()
+	keyHash := sha256.Sum256([]byte(nonAdminKey))
+	if err := srv.store.CreateOperator(context.Background(), &models.Operator{
+		ID: uuid.New().String(), Username: "non-admin", PasswordHash: "x",
+		Role: "user", Status: models.OperatorStatusActive,
+	}); err != nil {
+		t.Fatal(err)
+	}
+	op, err := srv.store.GetOperatorByUsername(context.Background(), "non-admin")
+	if err != nil {
+		t.Fatal(err)
+	}
+	if err := srv.store.CreateOperatorAPIKey(context.Background(), &models.OperatorAPIKey{
+		ID: uuid.New().String(), OperatorID: op.ID, KeyHash: hex.EncodeToString(keyHash[:]),
+	}); err != nil {
+		t.Fatal(err)
+	}
+
+	req := httptest.NewRequest("GET", "/api/v1/audit-log", nil)
+	req.Header.Set("Authorization", "Bearer "+nonAdminKey)
+	rec := httptest.NewRecorder()
+	srv.ServeHTTP(rec, req)
+
+	if rec.Code != http.StatusForbidden {
+		t.Errorf("non-admin audit-log status = %d, want 403", rec.Code)
+	}
+}
+
+// TestHandleGetAuditLog_LegacyKeyAllowed confirms the legacy config-key
+// path still reaches the handler (preserves backward compatibility).
+func TestHandleGetAuditLog_LegacyKeyAllowed(t *testing.T) {
+	srv, _ := newTestServer(t)
+
+	req := httptest.NewRequest("GET", "/api/v1/audit-log", nil)
+	req.Header.Set("Authorization", "Bearer "+testAPIKey)
+	rec := httptest.NewRecorder()
+	srv.ServeHTTP(rec, req)
+
+	if rec.Code == http.StatusForbidden {
+		t.Errorf("legacy key rejected with 403; want pass-through")
+	}
+}

Executive ViewAI

Why It Matters

Broken authorization in nebula-mesh (all versions through v0.3.1) allows any authenticated operator to access the complete audit log across all tenants, exposing sensitive operational data including identity information, timestamps, and network records. Publicly available exploit code exists; this represents a critical control failure where audit logs-essential for compliance and forensic investigation-become accessible to low-privileged users, undermining nonrepudiation and regulatory requirements.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Rare
niche self-hosted Go mesh-CA tool, minimal enterprise footprint
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
No
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Important
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