CVE 9.1 CRITICAL

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

9.1 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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.

AI Analysis

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

Basic Information

ID CVE-2026-53519
Source GitHub_M
Published Jun 12, 2026 at 21:03

Affected Product

Vendor nezhahq
Product nezha
Version < 2.0.13
Affected Versions nezhahq nezha < 2.0.13

CWE Classification

AI Assessment

AI Score 9.1 / 10
AI Severity Critical
Vendor nezhahq
Product Nezha Monitoring
Version < 2.0.13

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.