CVE-2026-53519

CRITICAL

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

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2026-53519. PoCs published by Unclecheng-li, tar-xz.

AI-analyzed exploit summary The repository contains a functional Python exploit for CVE-2026-53519, which leverages path traversal to retrieve sensitive files (config.yaml and sqlite.db) and forges a JWT token to achieve admin authentication bypass in Nezha Monitoring Dashboard.

Description

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.

Exploits (2)

github WORKING POC 637 stars
by Unclecheng-li · cpoc
https://github.com/Unclecheng-li/poc-lab/tree/main/CVE-2026-53519 Nezha Monitoring

The repository contains a functional Python exploit for CVE-2026-53519, which leverages path traversal to retrieve sensitive files (config.yaml and sqlite.db) and forges a JWT token to achieve admin authentication bypass in Nezha Monitoring Dashboard.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Nezha Monitoring Dashboard < 2.0.13
No auth needed
Prerequisites: Target running vulnerable Nezha Dashboard version · Network access to the target
mistral-large-3 · analyzed Jun 20, 2026 Full analysis →
github WORKING POC
by tar-xz · pythonpoc
https://github.com/tar-xz/CVE-2026-53519-PoC

This repository contains a functional exploit for CVE-2026-53519, which leverages path traversal in Nezha Dashboard to extract sensitive files (e.g., JWT secret key) and forge administrative tokens. The PoC automates the entire exploit chain, including secret extraction, database access, and token forgery.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Nezha Dashboard
No auth needed
Prerequisites: Network access to the vulnerable Nezha Dashboard instance
mistral-large-3 · analyzed Jun 16, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.1
EPSS 0.0053
EPSS Percentile 42.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-22
Status published
Products (2)
nezhahq/nezha 0 - 2.0.13Go
nezhahq/nezha < 2.0.13
Published Jun 12, 2026
Tracked Since Jun 13, 2026