Skip to content

nezha

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

CVE-2026-53519Published 12 Jun 2026, 21:03 UTC

Real-world risk

8.0/ 10High

Patch this week; within 48 h if Internet-facing

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
nezhaCommon< 2.0.132.0.13

What to do

Update to a fixed version: 2.0.13.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Public proof of concept on GitHub
  • Nuclei scanner template (link)

EPSS 1.9% chance of exploitation in 30 days (percentile 81), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.8 × prerequisites 1 × threat 18.000
  4. Rounded to one decimal between 0.1 and 108.0

How the score works

Exploitation and evidence timeline

  1. 12 Jun 2026 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Nuclei scanner template first seen
  4. 3 Dec 2026 Risk 8.0 (cvss fallback)

Weakness

CWE-22

References

Get alerts for nezha

Free email or text alerts when a vulnerability in nezha reaches risk 8 or higher. Nothing else.