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
Share

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
qualitative

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

2
Patch available
Jun 12, 2026 - 23:01 EUVD
Analysis Generated
Jun 12, 2026 - 22:21 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

CVE-2015-5461 MEDIUM POC
6.4 Jul 08

Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for

CVE-2024-22891 CRITICAL POC
9.8 Mar 01

Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link. Rated crit

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

Share

CVE-2026-53523 vulnerability details – vuln.today

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