Skip to main content

Nezha Monitoring CVE-2026-53523

| EUVDEUVD-2026-36602 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-06-12 GitHub_M GHSA-9rc6-8cjv-rcvx
6.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Identify Nezha instance with OAuth2 enabled
  2. Delivery
    Craft OAuth2 login URL with malicious Host header
  3. Exploit
    Deliver phishing link to target administrator
  4. Install
    Victim initiates OAuth2 authentication flow
  5. C2
    Nezha constructs callback URL using injected Host
  6. Execute
    OAuth authorization code delivered to attacker domain
  7. Impact
    Attacker exchanges code for session access

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

Exploitation requires three concurrent conditions: (1) The target Nezha Monitoring instance must have OAuth2 authentication configured and enabled - instances using only local/password authentication do not exercise the vulnerable getRedirectURL code path. (2) The instance must be reachable in a deployment where the HTTP Host header is not normalized or overridden by an intermediary reverse proxy before reaching Nezha - deployments behind nginx, Caddy, or similar with explicit Host header enforcement are not exploitable via this vector. (3) A legitimate user with a valid OAuth2 account (such as an administrator) must be induced to initiate an OAuth2 login flow via an attacker-crafted link, satisfying the UI:R requirement. Exploitation is limited by: the AC:H complexity of reliably delivering a Host-injected request to a victim; the prevalence of reverse proxy deployments that silently nullify the attack; and the need for targeted social engineering rather than opportunistic scanning. No special platform, OS, or network topology beyond the above is required.

Impact

The NVD CVSS 3.1 score of 6.8 with vector AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N represents a moderate-to-high real-world risk under the right deployment conditions. AC:H accurately reflects that Host header manipulation is non-trivial: many deployments of self-hosted tools sit behind reverse proxies (nginx, Caddy, Traefik) that normalize or override the Host header before it reaches the application, effectively neutralizing the attack vector - this is a meaningful risk-reduction factor for well-architected deployments. The C:H and I:H impacts are justified because a successful redirect can capture OAuth authorization codes or tokens, enabling full account takeover. No EPSS data was available in the provided intelligence, so exploitation probability cannot be quantified. The vulnerability is not in CISA KEV and no public exploit code has been reported, indicating limited adversarial interest at time of analysis. For directly-exposed Nezha instances (no reverse proxy) with OAuth2 enabled and internet-accessible administrative users, real-world risk is meaningfully high despite the moderate overall score. The UI:R requirement limits opportunistic mass exploitation but does not prevent targeted social engineering against known administrators.

Exploit ScenarioDerived

An attacker targeting a Nezha instance with OAuth2 enabled and no Host-normalizing reverse proxy crafts a link to the instance's OAuth2 initiation endpoint, ensuring the HTTP Host header is set to an attacker-controlled domain. The attacker socially engineers a Nezha administrator - via email, messaging, or a watering-hole page - into clicking the link and completing the OAuth2 login flow; the OAuth authorization code or token is then delivered to the attacker's server, granting full account access. No public proof-of-concept code has been identified at time of analysis, but the attack technique is well-understood and requires no specialized tooling beyond the ability to set custom HTTP headers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jun 12, 2026

Host header injection in Nezha Monitoring versions 1.0.0 through 2.2.0 allows unauthenticated remote attackers to redirect OAuth2 callback URLs to attacker-controlled domains, enabling OAuth token theft and account takeover. The flaw resides in the getRedirectURL function (oauth2.go:22-29), which blindly concatenates the HTTP request's Host header with a fixed path when constructing the OAuth2 redirect URL, with no allowlisting or validation performed. A vendor-released patch exists in version 2.2.0; no public exploit has been identified at time of analysis and the vulnerability is not in the CISA KEV catalog.

RemediationAI

Vendor-released patch: version 2.2.0. Upgrade to Nezha Monitoring 2.2.0 or later immediately; this release introduces Host header validation in the OAuth2 callback URL construction and is the definitive fix. Details are available at https://github.com/nezhahq/nezha/security/advisories/GHSA-9rc6-8cjv-rcvx. If immediate patching is not possible, deploy Nezha behind a reverse proxy (nginx, Caddy, or Traefik) configured to explicitly set and enforce the canonical Host header - for example, using nginx's proxy_set_header Host directive with a hardcoded value - which prevents attacker-supplied Host headers from reaching the application entirely; note this mitigates the injection but does not fix the underlying code. As an additional control, temporarily disabling OAuth2 authentication and reverting to an alternate login method eliminates the vulnerable code path at the cost of SSO functionality. Restricting access to the Nezha dashboard to trusted network ranges via firewall rules reduces the pool of potential attackers able to deliver the crafted OAuth link.

Affected VersionsENISA

nezha 1.0.0, < 2.2.0

Affected Packages

go github.com/nezhahq/nezha fix: 2.2.0
euvd nezha_1_0_0 fix: 2.2.0

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

The vulnerability is rooted in Nezha Monitoring's OAuth2 authentication subsystem, specifically in the getRedirectURL function at oauth2.go lines 22-29. When a user initiates an OAuth2 login flow, the application constructs the redirect/callback URL by string-concatenating the HTTP Host header - which is fully attacker-controllable in direct-exposure deployments - with a fixed path suffix. No server-side validation, allowlisting, or canonicalization of the Host header value is applied before this concatenation. CWE-601 (URL Redirection to Untrusted Site / Open Redirect) describes the root cause class: user-supplied input directly influences a redirect destination without validation. The affected CPE is cpe:2.3:a:nezhahq:nezha:*:*:*:*:*:*:*:* covering all releases from 1.0.0 to before 2.2.0. HTTP Host header injection is a well-documented attack class commonly exploited in password-reset poisoning and OAuth flow hijacking, and is particularly effective in self-hosted tools where operators may not deploy a reverse proxy that canonicalizes the Host header.

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 (GitHub_M) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network vector with high complexity for Host header manipulation; no privileges required but victim must complete OAuth flow for token exfiltration.

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:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jun 12, 2026 - 23:01 EUVD

DescriptionCVE.org

Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.0.0 to before version 2.2.0, the getRedirectURL function in oauth2.go:22-29 constructs the OAuth2 callback URL by concatenating the request's Host header with a fixed path, with zero validation of the Host header. This can result in host header injection. This issue has been patched in version 2.2.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.0%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

More in Nezha

View all
CVE-2026-101090 CRITICAL POC
9.3 Sep 27

Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re

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-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-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

CVE-2026-59155 MEDIUM
6.9 Jul 10

Nezha Monitoring versions prior to 2.2.5 expose stored third-party API credentials in plaintext through two listing API

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