Skip to main content
← All vulnerabilities
CVE-2026-53519GHSA-5C25-7VPJ-9MQHGO-2026-5828

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.13
2 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • nezhahq nezha

    fixed in 2.0.13

  • github.com/nezhahq/nezhaGo

    fixed in 2.0.13

  • github.com/nezhahq/nezhaGo

    All versions

References 4

GitHub · nezhahq/nezha

GitHub · projectdiscovery/nuclei-templates

GitHub · ivanesk315/CVE-2026-53519

GitHub · tar-xz/CVE-2026-53519-PoC