Read the docs
TI-2026-38593 Aliases CVE-2026-53519GHSA-5c25-7vpj-9mqh

Nezha Monitoring: Pre-auth path traversal via /dashboard.. prefix confusion leaks jwt_secret_key

Priority MEDIUM 51CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. Prior to version 2.0.13, fallbackToFrontend in the dashboard's NoRoute handler treats any URL whose raw string starts with /dashboard as an admin-frontend asset request. The check uses strings.HasPrefix, not a path-segment match, so the input /dashboard../data/config.yaml is accepted; strings.TrimPrefix leaves ../data/config.yaml; and path.Join("admin-dist", "../data/config.yaml") normalizes to data/config.yaml — which os.Stat finds and http.ServeFile returns. No authentication required. This issue has been patched in version 2.0.13.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01928 80th percentileScored 2026-11-07
Fix Fixed nezha (nezhahq): 2.0.13github.com/nezhahq/nezha (Go): 2.0.13

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nezhahqnezhabefore 2.0.132.0.13Patch availableCNA
—github.com/nezhahq/nezha (Go)before 2.0.132.0.13Patch availableGHSA-5c25-7vpj-9mqh
  • nezha Vendornezhahq Affected before 2.0.13 Fixed in 2.0.13 Patch available CNA
  • github.com/nezhahq/nezha (Go) Vendor— Affected before 2.0.13 Fixed in 2.0.13 Patch available GHSA-5c25-7vpj-9mqh

Remediation

  • Fix · CNA nezha (nezhahq) Fixed in 2.0.13
  • Fix · GHSA-5c25-7vpj-9mqh github.com/nezhahq/nezha (Go) Fixed in 2.0.13 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-53519
  2. 2026-10-03 Alias added: GHSA-5c25-7vpj-9mqh

References

  • TI-2026-65123 Nezha through 2.2.3 Host Header Injection via OAuth2 redirect_uri CVSS 4.0CRITICAL 9.3
  • TI-2026-34341 Nezha Monitoring: RoleMember can run shell on every server (cross-tenant RCE) via POST /api/v1/cron CVSS 3.1CRITICAL 9.9
  • TI-2026-34342 Nezha Monitoring: RoleMember-reachable SSRF with full response-body reflection via POST /api/v1/notification CVSS 3.1HIGH 7.7
  • TI-2026-38597 Nezha Monitoring: OAuth2 Redirect URL — Host Header Injection CVSS 3.1MEDIUM 6.8
  • TI-2026-75131 Memory exhaustion in Nezha file manager WebSocket endpoint CVSS 4.0HIGH 7.1
  • TI-2026-75130 Nezha WebSocket transfer endpoint flaw enables denial of service CVSS 4.0HIGH 7.1
See all 29 →

Sources