Impact
A pre‑authentication path traversal flaw exists in Nezha Monitoring. By crafting a URL that starts with "/dashboard" followed by two dots and a directory traversal payload, an unauthenticated user can cause the server to serve the file "/data/config.yaml". The configuration file contains the jwt_secret_key, exposing sensitive secrets to the attacker.
Affected Systems
Nezha Monitoring deployments of nezhahq:nezha earlier than version 2.0.13 are vulnerable. Any installed instance using the default asset routing without authentication can be impacted.
Risk and Exploitability
The vulnerability has a CVSS score of 9.1, indicating a high level of severity. The EPSS score is not available, but the attack requires only network access to the monitoring web interface, making it trivial for any remote actor to exploit. It is not listed in the CISA KEV catalog and no public exploits have been reported, yet the lack of authentication and the path traversal logic make it a prime target for attackers seeking to steal configuration secrets.
OpenCVE Enrichment