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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.93%, higher than 80% of CVEs (2026-12-01)
- Published: 2026-06-12T21:03:48.844Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-5c25-7vpj-9mqh, GO-2026-5828
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nezhahq nezha: < 2.0.13
- github.com/nezhahq/nezha (Go): before 2.0.13; all versions

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/nezhahq/nezha/security/advisories/GHSA-5c25-7vpj-9mqh> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53519> (advisory)
- <https://github.com/nezhahq/nezha> (package)

## Sources

- CVE List: [CVE-2026-53519](https://www.cve.org/CVERecord?id=CVE-2026-53519), CVE Terms of Use, modified 2026-06-15
- GitHub Advisory Database: [GHSA-5c25-7vpj-9mqh](https://github.com/advisories/GHSA-5c25-7vpj-9mqh), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5828](https://pkg.go.dev/vuln/GO-2026-5828), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-53519](https://nvd.nist.gov/vuln/detail/CVE-2026-53519), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-53519 · Whole record: https://cve.day/CVE-2026-53519.json · Rebuilt by cve.day 2026-11-25T22:59:24.590Z
