Skip to main content

nebula-mesh CVE-2026-55512

| EUVDEUVD-2026-71718 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-07-14 https://github.com/forgekeep/nebula-mesh GHSA-m3cx-mwpg-32jg
5.3
CVSS 3.1 · Vendor: https://github.com/forgekeep/nebula-mesh
View

Attack ChainAIDerived

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

  1. Access
    Identify nebula-mesh instance with OIDC enabled
  2. Delivery
    Send unauthenticated high-rate GET /ui/oidc/login requests
  3. Exploit
    Server allocates new in-memory state entry per request (10-minute TTL)
  4. Execution
    State map grows unbounded within TTL window
  5. Impact
    Application heap pressure degrades or crashes service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

OIDC authentication must be explicitly configured in the nebula-mesh deployment - operators must have integrated an external identity provider (Keycloak, Authentik, Okta, or equivalent) for the vulnerable endpoint to exist; deployments using only local accounts are entirely unexposed. Given OIDC is enabled, no authentication, session token, valid credentials, IdP callback completion, or any user interaction is required. The attacker needs only HTTP network access to GET /ui/oidc/login. The rate limiters applied to POST /ui/login, POST /ui/totp, POST /ui/register, and GET /ui/oidc/callback do NOT protect this path. The primary factor limiting exploitation is the non-default OIDC configuration; the secondary limiting factor is that impact is bounded to availability degradation of the nebula-mesh process rather than data exfiltration or code execution.

Impact

The CVSS 5.3 score (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) accurately captures the profile: remotely exploitable, zero authentication, no user interaction, availability impact only. No EPSS score was provided in the intelligence feed, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed widespread active exploitation at time of analysis. However, a publicly available PoC exists - verified by the reporter and documented in the GitHub Security Advisory - which substantially lowers the exploitation bar to commodity level. The realistic attack surface is narrowed by the non-default OIDC configuration requirement: deployments using only local accounts are entirely unexposed. SSVC signals suggest the vulnerability is automatable (network-accessible, unauthenticated, scriptable) but technical impact is limited to availability degradation rather than confidentiality or integrity breach. For organizations with OIDC enabled, the risk is a genuine, low-effort DoS with a linear amplification ratio (one request equals one persistent state entry), but the impact ceiling is service-level availability rather than data compromise or lateral movement. No conflicting signals were identified between CVSS and the description; both consistently indicate a network-vector, unauthenticated DoS with no scope change.

Exploit ScenarioDerived

An unauthenticated attacker with network access to a nebula-mesh instance with OIDC enabled sends a high-throughput stream of GET /ui/oidc/login HTTP requests - no credentials, session, or IdP interaction required. Each request receives an HTTP 302 redirect and causes the server to allocate and retain a new state entry for 10 minutes; because no rate limiter protects this path, entries accumulate linearly at request throughput. The publicly available PoC demonstrates 1,000 requests producing 1,000 live states in approximately 0.10 seconds from a single client, establishing that sustained flooding can grow the in-process heap until the Go runtime is under OOM pressure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Unbounded in-memory state growth in nebula-mesh's OIDC login endpoint allows unauthenticated remote clients to cause availability degradation by flooding GET /ui/oidc/login, which allocates a new server-side state entry per request for a 10-minute TTL with no rate limit and no maximum live-state cap. Affected versions span v0.2.0 through v0.3.8; the attack requires only that OIDC be enabled and requires no credentials, IdP interaction, or user involvement. A publicly available PoC demonstrates 1,000 requests producing 1,000 live state entries with zero 429 responses; no public exploit identified at time of analysis as actively exploited (not in CISA KEV), though the low-barrier PoC meaningfully reduces the effort required.

RemediationAI

Upgrade to nebula-mesh v0.5.0, which is confirmed fixed via commit bc387086cc0e4b9c1654468b7391af19cacfe367 (https://github.com/forgekeep/nebula-mesh/commit/bc387086cc0e4b9c1654468b7391af19cacfe367) and the release at https://github.com/forgekeep/nebula-mesh/releases/tag/v0.5.0. The fix introduces a hard cap of 4,096 concurrent pending OIDC states (oidcMaxLiveStates = 4096); when the ceiling is reached, HandleLogin returns HTTP 503 with a Retry-After: 60 header rather than allocating further entries. If an immediate upgrade is not feasible, disabling OIDC and reverting to local-account authentication eliminates the vulnerable endpoint entirely (trade-off: loss of SSO functionality). Alternatively, placing a reverse proxy with aggressive per-IP rate limiting on GET /ui/oidc/login (e.g., 5 requests per minute per source IP using nginx limit_req or Traefik middleware) reduces but does not eliminate risk, as its effectiveness depends on correct proxy configuration and does not address the unbounded cap in the application layer. Neither workaround should replace upgrading to v0.5.0.

Affected VersionsENISA

nebula-mesh 0.2.0, < 0.5.0

Affected Packages

go github.com/forgekeep/nebula-mesh fix: 0.5.0
go github.com/juev/nebula-mesh no fix
euvd nebula_mesh_0_2_0 fix: 0.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 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 Go-based network mesh management web UI (pkg:go/github.com/forgekeep/nebula-mesh). The affected component is the OIDC authentication subsystem introduced in v0.2.0 via commit 3f46685. The root cause is CWE-400 (Uncontrolled Resource Consumption): HandleLogin in internal/web/oidc.go generates a random state token per request and stores it in an in-memory map (o.states) with a 10-minute TTL but no entry ceiling. The route is registered directly by WithOIDC at internal/web/web.go:153, bypassing the rate-limited /ui/* group that protects local login, TOTP, and register POST routes (web.go:287-292). The OIDC callback does receive rate limiting (web.go:154), but the login initiation path does not. Lazy sweeping of expired entries (oidc.go:353-373) cannot reclaim entries within their TTL window, so a flood of requests accumulates non-expiring state entries faster than they age out. The OAuth2 authorization code flow inherently requires server-side state for CSRF protection, but the implementation lacked both throttling and a hard cap.

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/forgekeep/nebula-mesh) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Network-accessible unauthenticated endpoint, no interaction or privileges required; impact is availability degradation only with no confidentiality or integrity exposure, and no scope change occurs.

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

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

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

Summary

When OIDC is enabled, GET /ui/oidc/login is reachable without authentication and is registered outside the Web UI rate-limited auth routes. Every request creates a fresh random OIDC state value and stores it in an in-memory map for 10m. Expired states are swept lazily, but there is no rate limit or maximum live-state cap on the allocation path. An unauthenticated remote client can therefore grow OIDC.states for the full state TTL, bounded by request throughput rather than by configured auth rate limits.

Details

The OIDC login route is registered directly by WithOIDC:

  • internal/web/web.go:153 registers w.router.Get("/ui/oidc/login", o.HandleLogin).
  • internal/web/web.go:154 rate-limits only GET /ui/oidc/callback with w.rateLimitMiddleware("auth").

The normal /ui/* route group applies rate limiting to login/register form submissions, but this direct registration happens outside that group:

  • internal/web/web.go:287 through internal/web/web.go:292 show the rate-limited local login, TOTP, and register POST routes.

The OIDC login handler allocates persistent server-side state before redirecting to the configured identity provider:

  • internal/web/oidc.go:105 defines HandleLogin.
  • internal/web/oidc.go:106 creates a random state token.
  • internal/web/oidc.go:112 calls o.rememberState(state).
  • internal/web/oidc.go:122 redirects to o.oauth.AuthCodeURL(state).

The state storage has a TTL but no maximum size:

  • internal/web/oidc.go:24 through internal/web/oidc.go:26 define oidcStateTTL = 10 * time.Minute.
  • internal/web/oidc.go:353 through internal/web/oidc.go:358 sweep expired states and then add the new state to o.states.
  • internal/web/oidc.go:360 through internal/web/oidc.go:373 delete only expired states.

Because the route is unauthenticated and not rate-limited, a remote client can repeatedly request /ui/oidc/login and force live state entries to accumulate for ten minutes. OIDC must be enabled for exposure. No IdP callback, valid credentials, or user interaction is required to trigger the allocation.

Affected version evidence: OIDC login support was introduced by commit 3f46685 (feat(auth): add OIDC operator login (Keycloak/Authentik/Okta/...) (#24)), and git tag --contains 3f46685 --sort=version:refname returns v0.2.0 and every later release through v0.3.8. Pattern checks across all release tags showed the OIDC login route and state allocation are present in v0.2.0 and in every v0.3.x release from v0.3.0 to v0.3.8, and absent from v0.1.x. The current checkout at commit d92dd9a60de291e2bc1caf73b4e9a99567b31ec0 (git describe: v0.3.8-1-gd92dd9a) remains affected.

PoC

Safe local PoC run from a clean checkout at commit d92dd9a60de291e2bc1caf73b4e9a99567b31ec0 on 2026-06-12. The PoC is a temporary Go test that uses httptest and an in-memory OIDC object; it does not start a real server, does not contact an IdP, and uses 1000 requests only to demonstrate linear state growth.

  1. Create a temporary test file internal/web/security_audit_poc_test.go in package web.
  2. Create a test Web UI with newTestWeb(t).
  3. Install a deliberately tiny auth rate limiter: group auth with rate 0.001 and burst 2.
  4. Attach an OIDC instance with an empty states map and an oauth2.Config whose authorization endpoint is https://idp.example.test/auth.
  5. Send 1000 unauthenticated GET /ui/oidc/login requests from the same RemoteAddr through w.ServeHTTP.
  6. Assert no request returns 429 Too Many Requests, then inspect o.stateCount().

Command run:

bash
go test ./internal/web -run 'TestSecurityAuditPOC' -count=1 -v

Observed vulnerable output from this environment:

text
=== RUN   TestSecurityAuditPOC_OIDCLoginAllocatesUnrateLimitedState
POC_OIDC_STATE_GROWTH attempts=1000 live_states=1000 ttl=10m0s rate_limit_group=auth_burst_2
--- PASS: TestSecurityAuditPOC_OIDCLoginAllocatesUnrateLimitedState (0.10s)

The meaningful control is that local login/register/TOTP POST routes and the OIDC callback are rate-limited: internal/web/web.go:287 through internal/web/web.go:292 and internal/web/web.go:154. The PoC specifically shows the OIDC login allocation route does not share that protection. After recording the output, the temporary test file was removed and git status --short returned clean. The PoC was re-run after drafting this report and produced the output shown above.

Impact

In deployments with OIDC enabled, an unauthenticated remote client can cause application-layer memory growth by repeatedly requesting /ui/oidc/login. Each request stores a new state entry for ten minutes, and the growth is not bounded by the configured auth rate limiter or by a maximum map size. The demonstrated impact is availability degradation risk through retained in-memory state growth. The PoC used 1000 local requests to avoid disruptive load while proving the source-to-sink behavior (1000 requests resulted in 1000 live states).

Suggested remediation: apply the existing auth rate limiter to GET /ui/oidc/login, add a maximum number of live OIDC states per client and/or globally, and fail closed when the cap is reached. Add a regression test that attaches a low-burst auth limiter, sends repeated GET /ui/oidc/login requests from the same client, and expects 429 or bounded live-state count after the configured burst.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Rare
niche self-hosted mesh management tool, limited enterprise footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
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 Yes
EPSS 0.3%
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
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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