Skip to main content

Nezha EUVDEUVD-2026-88025

| CVE-2026-101090 CRITICAL
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-09-27 VulnCheck GHSA-62gj-x2f3-j2wj
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Send OAuth2 start request with forged Host header
  2. Delivery
    Nezha reflects Host into redirect_uri
  3. Exploit
    Lure victim to begin OAuth2 login
  4. Execution
    IdP redirects authorization code to attacker origin
  5. Persist
    Attacker completes login/binding flow
  6. Impact
    Account takeover of Nezha dashboard

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Exploitation Conditions

Requires ALL of: (1) the Nezha instance is configured for OAuth2 login AND the new optional dashboard_host setting is left EMPTY (the fallback to install_host only fires when dashboard_host is non-empty) - this is the core regression condition; (2) the deployment reaches Nezha with an attacker-controllable HTTP Host header (e.g. a reverse proxy that passes client Host through, or direct exposure), so the forged Host is reflected into redirect_uri; (3) a victim is induced to initiate the OAuth2 login/binding flow via the attacker's crafted request (user interaction required); and (4) the configured OAuth2 identity provider ACCEPTS the attacker-controlled redirect_uri - providers that strictly allowlist redirect URIs block the attack entirely. Limiting factors: non-default/empty-config dependency, mandatory victim interaction, and reliance on a permissive IdP redirect policy substantially narrow real-world exploitability despite the network-reachable unauthenticated entry point.

Impact

This is a genuine but conditional account-takeover vulnerability, not a slam-dunk critical. The vendor CVSS 4.0 vector (9.3, AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) overstates real-world risk on several axes. First, exploitation is NOT no-interaction: the advisory itself states an attacker must 'induce a victim to begin OAuth2 login' through a request carrying a forged Host header, which is inherent user interaction (UI:R), so UI:N is wrong. Second, success is gated by a large external dependency the vendor vector ignores - the configured OAuth2 identity provider must actually ACCEPT the attacker-controlled redirect_uri; most mature providers (GitHub, Google) enforce a redirect_uri allowlist, which would defeat this, making AC:L optimistic (AC:H/AT:P is more honest). Third, VA:H (availability) is not well-supported: the impact is credential/session theft and account binding, i.e. confidentiality and integrity, with no direct availability loss. It is also configuration-dependent (only when the new optional dashboard_host is empty), though the advisory correctly notes this is a realistic upgrade/default state. On exploitation signals: no EPSS score and no KEV entry are provided, so there is no evidence of active exploitation - this is targeted/theoretical at present. However, the advisory contains a concrete reproduction (curl-style request + a Go route-level unit test), so working proof-of-concept material effectively exists publicly. Net: a real, patch-worthy issue meriting prompt remediation for exposed Nezha instances, but its practical exploitability is meaningfully lower than the 9.3 headline because it needs victim interaction, a permissive IdP redirect_uri policy, and the empty-dashboard_host configuration.

Exploit ScenarioDerived

An attacker crafts a link that routes a victim to a vulnerable Nezha instance (dashboard_host empty) to start OAuth2 login while supplying a forged Host header (e.g. Host: evil.attacker.test with X-Forwarded-Proto: https). Nezha reflects that Host into the redirect_uri sent to the identity provider; if the provider accepts the URI, the victim's authorization code is delivered to the attacker's origin, letting the attacker complete the login/binding flow and hijack the account. Proof-of-concept material exists in the advisory (reproduction request and a route-level unit test), but there is no evidence of active exploitation.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 27, 2026

Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated remote attacker who can control the HTTP Host header on a request reaching the server to make Nezha emit an attacker-chosen redirect_uri to the configured identity provider; a victim induced to start the OAuth2 login/binding flow can then have their authorization code delivered to the attacker's origin, letting the attacker complete the flow and take over the account. The bug is a regression of the GHSA-9rc6-8cjv-rcvx fix and only manifests when the new optional dashboard_host setting is left empty, so the code no longer falls back to install_host; exploitation also requires victim interaction and an identity provider that accepts the forged redirect URI, which is why the independent assessment scores it CVSS:3.1/AV:N/AC:H/PR:N/UI:R while the vendor-style CVSS 4.0 rating is 9.3. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; no patched release version was published with the advisory, only an upstream fix commit (38824dbc11a63964c5b9296ae4c68e62b34fa04b).

RemediationAI

No vendor-released patched version was published with the advisory, so the primary action is to apply the upstream fix commit 38824dbc11a63964c5b9296ae4c68e62b34fa04b (or later) or wait for a tagged release that contains it, tracked via GHSA-rf68-8gjr-36q7. As an immediate compensating control, explicitly set dashboard_host in the Nezha configuration to the legitimate canonical dashboard hostname (matching install_host) so the code takes the non-empty branch and never reflects the request Host header; this requires a configuration change and service restart and must be applied consistently to every instance. In parallel, normalize Host at the edge: configure the reverse proxy to pass a fixed, canonical Host value to Nezha (for example nginx 'proxy_set_header Host $server_name' with a defined server_name, or the equivalent in another proxy) rather than forwarding the client-supplied Host, accepting that this changes how Nezha sees its own hostname and must be validated against other features that depend on it. The most durable compensating control is on the identity-provider side: restrict the OAuth2 client's allowed redirect URIs to the exact canonical callback (https://<dashboard-host>/api/v1/oauth2/callback) with no wildcard or suffix matching, which blocks the attack outright regardless of the Nezha configuration state. Avoid exposing the Nezha dashboard API directly to the internet without a proxy that normalizes Host, and treat any OAuth2 account bound through a suspect flow as compromised and re-authenticate affected users.

Affected VersionsENISA

nezha 2.2.3 ≤2.2.3

Affected Packages

go github.com/nezhahq/nezha no fix
euvd nezha no fix

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

Nezha is a Go-based server monitoring and dashboard application, and the affected component is the OAuth2 authorization-code flow handler at /api/v1/oauth2/{provider}, implemented in cmd/dashboard/controller/oauth2.go on the Gin web framework, which builds the authorization URL sent to the configured identity provider. The root cause class is CWE-601 (URL Redirection to Untrusted Site / open redirect): the controller derives the redirect_uri from the client-supplied HTTP Host header (using X-Forwarded-Proto for the scheme) instead of the operator-configured canonical host. Version 2.2.0 had addressed this same weakness under GHSA-9rc6-8cjv-rcvx by falling back to install_host, but the 2.2.3 code path performs that fallback only when the newly introduced optional dashboard_host field is non-empty, so an empty dashboard_host reinstates the original host-header reflection. Reproduction against v2.2.3 / master commit 3d74cd9431a48fa89c6489689eac82a872799ea0 shows a request with 'Host: evil.attacker.test' and 'X-Forwarded-Proto: https' producing redirect_uri=https://evil.attacker.test/api/v1/oauth2/callback. The affected package is go/github.com/nezhahq/nezha, matched by CPE cpe:2.3:a:nezhahq:nezha, with version 2.2.3 identified as vulnerable.

Know when Nezha gets its next vulnerability

  • 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 (VulnCheck) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

AC:H and UI:R because success needs a permissive IdP redirect policy plus a victim induced to start login; PR:N (pre-auth); C:H/I:H for account takeover, A:N as no availability loss.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Nezha 2.2.3 contains a Host header injection regression in the OAuth2 redirect endpoint. When the new optional dashboard_host setting is empty, /api/v1/oauth2/{provider} (cmd/dashboard/controller/oauth2.go) reflects the attacker-supplied HTTP Host header into the redirect_uri sent to the identity provider instead of falling back to the configured install_host. An attacker who induces a victim to begin OAuth2 login via a request that reaches Nezha with a forged Host header can cause an attacker-controlled callback URL to be used as the redirect_uri; if the OAuth2 provider accepts it, the victim's authorization code is delivered to the attacker origin, allowing the attacker to complete the OAuth2 login/binding flow and take over the account. This regresses the fix for GHSA-9rc6-8cjv-rcvx and is configuration-dependent (dashboard_host empty). At the time of the advisory no patched version was available.

Technical POC Analysis

CWE-601: URL Redirection to Untrusted Site ("Open Redirect").

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Nezha version 2.2.3, a server monitoring and management panel, contains a critical authentication bypass that allows an unauthenticated attacker to take over user accounts by manipulating the OAuth2 login flow. No public exploit identified at time of analysis, but successful attacks could grant control over the Nezha panel and the infrastructure it manages, affecting organizations that use OAuth2 and leave the dashboard_host setting empty. Leadership should prioritize immediate mitigations because no vendor-released patch identified at time of analysis.

Business Impact: High
Compensating Controls

Configure dashboard_host to a non-empty value, validate Host headers at the reverse proxy, enforce strict redirect URI whitelisting at the identity provider, and disable OAuth2 login if not required.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
Low
self-hosted open-source server-monitoring dashboard, niche production footprint
Social Media
6
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

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

More in Nezha

View all
CVE-2026-53519 CRITICAL POC
9.1 Jun 12

Unauthenticated path traversal in Nezha Monitoring (nezhahq/nezha) before 2.0.13 allows remote attackers to read arbitra

CVE-2026-53523 MEDIUM POC
6.8 Jun 12

Host header injection in Nezha Monitoring versions 1.0.0 through 2.2.0 allows unauthenticated remote attackers to redire

CVE-2026-53522 MEDIUM POC
6.5 Jun 12

Unbounded WebSocket stream allocation in Nezha Monitoring versions 1.0.0 through 2.1.x allows any authenticated dashboar

CVE-2026-53520 MEDIUM POC
6.5 Jun 12

Nezha Monitoring versions 2.0.14 through 2.1.0 (exclusive) allows any authenticated user to exploit the NAT-based Host c

CVE-2026-62283 CRITICAL
9.9 Aug 21

Cross-tenant session hijacking in Nezha Monitoring (v1.14.13-1.14.14 and v2.0.0-2.0.9) lets any authenticated low-privil

CVE-2026-126307 HIGH
8.7 Nov 13

Nezha Dashboard releases before 2.6.0 carry a bundled set of authorization, tenant-isolation and resource-exhaustion def

CVE-2026-111384 HIGH
7.1 Oct 16

Nezha monitoring dashboards running versions 1.0.0 through 2.3.14 can be knocked offline by an authenticated user who ho

CVE-2026-111383 HIGH
7.1 Oct 16

Resource exhaustion in Nezha 2.0.13 through 2.3.14 allows an authenticated user to open unbounded concurrent connections

CVE-2026-111387 HIGH
7.1 Oct 16

Cleartext third-party credentials are exposed to any authenticated principal holding DDNS read access in Nezha versions

CVE-2026-105113 HIGH
7.1 Oct 03

Permanent deadlock of the alerting subsystem in Nezha Dashboard 1.8.0 through 2.3.12 allows any authenticated non-admin

CVE-2026-101086 HIGH
7.1 Sep 27

Authenticated privilege escalation in Nezha Dashboard before 2.3.5 lets any account holding the nezha:service:write scop

CVE-2026-101085 HIGH
7.1 Sep 27

Denial of service in the Nezha monitoring dashboard before 2.3.8 lets any authenticated non-administrator account crash

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy