CVE-2026-53519

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductGithub.com/nezhahq/nezha
PublishedJun 12, 2026
First seenJun 12, 2026

How to fix

Update
  • github.com/nezhahq/nezha2.0.13 or later

Affected products

ProductAffected versionsFixed in
github.com/nezhahq/nezhaGov < 2.0.13, No range specified2.0.13

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-53519 · Github.com/nezhahq/nezha · Dark Radar