Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-53519: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nezhahq nezha

0
Critical
VulnerabilityCVE-2026-53519cvecve-2026-53519cwe-22
Published: Fri Jun 12 2026 (06/12/2026, 21:03:48 UTC)
Source: CVE Database V5
Vendor/Project: nezhahq
Product: nezha

Description

Nezha Monitoring versions prior to 2.0.13 contain a path traversal vulnerability in the dashboard's NoRoute handler. The vulnerability arises because the fallbackToFrontend function incorrectly uses a prefix check that allows crafted URLs to escape the intended admin-frontend asset directory and access arbitrary files on the server without authentication. This issue has been fixed in version 2.0.13.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
nezhahq/nezha
pkg:github/nezhahq/nezha
Affected versions
<2.0.13

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/12/2026, 21:54:27 UTC

Technical Analysis

CVE-2026-53519 is a path traversal vulnerability (CWE-22) in Nezha Monitoring, a self-hostable server and website monitoring tool. Before version 2.0.13, the dashboard's NoRoute handler uses strings.HasPrefix to identify admin-frontend asset requests starting with '/dashboard'. This check is insufficient because it does not match path segments, allowing inputs like '/dashboard../data/config.yaml' to bypass restrictions. The path normalization via path.Join results in access to files outside the intended directory, which are then served by http.ServeFile without authentication. This vulnerability allows an unauthenticated attacker to read arbitrary files on the server. The issue is patched in version 2.0.13.

Potential Impact

An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server hosting Nezha Monitoring by crafting specially formed URLs. This leads to a confidentiality breach with high impact, as sensitive configuration or data files could be exposed. There is no impact on integrity or availability reported.

Mitigation Recommendations

This vulnerability has been fixed in Nezha Monitoring version 2.0.13. Users should upgrade to version 2.0.13 or later to remediate this issue. No other mitigation or temporary workaround is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-09T17:30:33.456Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2c7c90e617e2d834c6c7bb

Added to database: 6/12/2026, 9:39:28 PM

Last enriched: 6/12/2026, 9:54:27 PM

Last updated: 6/13/2026, 1:15:33 AM

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses