Nezha
Nezha Monitoring: Pre-auth path traversal via /dashboard.. prefix confusion leaks jwt_secret_key
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.0.13
Fixed in 2.0.13
Mitigation
Upgrade nezha to 2.0.13 or later.
References
- Vendor advisory github.com/nezhahq/nezha/security/advisories/G…
Timeline
Days relative to CVE publicationFirst public PoC 2.9 days after publication; not in CISA KEV. First PoC: tar-xz/CVE-2026-53519-PoC (created 15 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| tar-xz/CVE-2026-53519-PoC | 15 Jun 2026 +2.9 d | 3 | PoC |
| ivanesk315/CVE-2026-53519 | 10 Sep 2026 +89 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Nezha Dashboard < 2.0.13 - Path Traversal | 6 Aug 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /api/v1/profile
- Key headers
Accept: */*Authorization: Bearer {var}- Ports
- 9090
- PoC User-Agent
CVE-2026-53519-PoC- Seen in
- 2 repos: ivanesk315/CVE-2026-53519, tar-xz/CVE-2026-53519-PoC
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:1045 ivanesk315/CVE-2026-53519/LAB_REPORT.md:312 tar-xz/CVE-2026-53519-PoC/CVE-2026-53519.py:47
GET /api/v1/user
- Key headers
Accept: */*Authorization: Bearer {var}- Ports
- 9090, 9091
- PoC User-Agent
CVE-2026-53519-PoC- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:667 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:1069 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:1135 ivanesk315/CVE-2026-53519/LAB_REPORT.md:336
GET /dashboard../../../etc/passwd
- Key headers
Accept: */*- Ports
- 9090, 9091
- PoC User-Agent
CVE-2026-53519-PoC- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:641 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:1115
GET /dashboard../data/config.yaml
- Key headers
Accept: */*- Ports
- 9090, 9091
- PoC User-Agent
CVE-2026-53519-PoC- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:220 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:614 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:837 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:1158 ivanesk315/CVE-2026-53519/LAB_REPORT.md:154
GET /dashboard../data/lab_canary.txt
- Key headers
Accept: */*- Ports
- 9090
- PoC User-Agent
CVE-2026-53519-PoC- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:900 ivanesk315/CVE-2026-53519/LAB_REPORT.md:227
GET /dashboard../data/sqlite.db
- Key headers
Accept: */*- Ports
- 9090, 9091
- PoC User-Agent
CVE-2026-53519-PoC- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:875 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:1178 ivanesk315/CVE-2026-53519/LAB_REPORT.md:178
GET /dashboard/
- Ports
- 9090, 9091
- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:603
GET /dashboard/../data/config.yaml
- Key headers
Accept: */*- Ports
- 9090, 9091
- PoC User-Agent
CVE-2026-53519-PoC- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:625 ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:1095
GET /data/config.yaml
- Ports
- 9090, 9091
- Seen in
- 1 repo: ivanesk315/CVE-2026-53519
- Evidence
- ivanesk315/CVE-2026-53519/GUIDE_EXPLOIT.md:656
GET /dashboard%2e%2e/data/config.yaml
- Seen in
- 1 repo: tar-xz/CVE-2026-53519-PoC
- Evidence
- tar-xz/CVE-2026-53519-PoC/CVE-2026-53519.py:22
GET /dashboard%2e%2e/data/sqlite.db
- Seen in
- 1 repo: tar-xz/CVE-2026-53519-PoC
- Evidence
- tar-xz/CVE-2026-53519-PoC/CVE-2026-53519.py:28
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/v1/profile(?:[?#].*)?$
(?i)^/api/v1/user(?:[?#].*)?$
(?i)^/dashboard\.\./\.\./\.\./etc/passwd(?:[?#].*)?$
(?i)^/dashboard\.\./data/config\.yaml(?:[?#].*)?$
(?i)^/dashboard\.\./data/lab_canary\.txt(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2026-53519 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/profile"; http.header; content:"Accept: */*"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-53519; classtype:web-application-attack; sid:9374527; rev:1;)
alert http any any -> $HOME_NET [9090,9091] (msg:"GG PoC-Monitor CVE-2026-53519 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/user"; http.header; content:"Accept: */*"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-53519; classtype:web-application-attack; sid:9672005; rev:1;)
alert http any any -> $HOME_NET [9090,9091] (msg:"GG PoC-Monitor CVE-2026-53519 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dashboard../../../etc/passwd"; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-53519; classtype:web-application-attack; sid:9806383; rev:1;)
alert http any any -> $HOME_NET [9090,9091] (msg:"GG PoC-Monitor CVE-2026-53519 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dashboard../data/config.yaml"; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-53519; classtype:web-application-attack; sid:9529976; rev:1;)
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2026-53519 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dashboard../data/lab_canary.txt"; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-53519; classtype:web-application-attack; sid:9261367; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: nezhahq nezha exploit attempt (CVE-2026-53519)
id: gg-pocmon-cve-2026-53519-9374527
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53519. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-53519
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/v1/profile'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.53519
title: nezhahq nezha exploit attempt (CVE-2026-53519)
id: gg-pocmon-cve-2026-53519-9672005
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53519. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-53519
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/v1/user'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.53519
title: nezhahq nezha exploit attempt (CVE-2026-53519)
id: gg-pocmon-cve-2026-53519-9806383
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53519. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-53519
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dashboard../../../etc/passwd'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.53519
title: nezhahq nezha exploit attempt (CVE-2026-53519)
id: gg-pocmon-cve-2026-53519-9529976
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53519. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-53519
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dashboard../data/config.yaml'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.53519
title: nezhahq nezha exploit attempt (CVE-2026-53519)
id: gg-pocmon-cve-2026-53519-9261367
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53519. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-53519
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dashboard../data/lab_canary.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.53519