
PoC exploit for CVE-2026-53519.
This repository contains a Proof-of-Concept (PoC) exploit for a vulnerability in the Nezha Dashboard that allows unauthenticated path traversal, leading to disclosure of sensitive files (including jwt_secret_key) and enabling JWT token forgery for administrative access.
This issue is officially tracked in GitHub Security Advisory:
https://github.com/nezhahq/nezha/security/advisories/GHSA-5c25-7vpj-9mqh
As described in the advisory, the vulnerability stems from improper handling of dashboard routing and path normalization, allowing crafted requests such as: /dashboard../data/config.yaml
Path Traversal
/dashboard../ path.Secret Extraction
jwt_secret_key from config.yaml.Database Access
sqlite.db.JWT Forgery
Privilege Escalation
python3 exploit.py <url> [jwt_secret] [user_id]
python3 exploit.py http://target.com
This repository is provided strictly for educational, research, and authorized security testing purposes only.
The author does not condone or support unauthorized access, misuse, or illegal exploitation of software systems. This Proof-of-Concept (PoC) is intended to help security professionals, developers, and system administrators understand, reproduce, and remediate the described vulnerability in controlled environments.
By using this code, you agree that: