{"id":"CVE-2026-53519","published":"2026-06-12T21:03:48Z","modified":"2026-06-15T18:27:12Z","title":"Nezha Monitoring: Pre-auth path traversal via /dashboard.. prefix confusion leaks jwt_secret_key","vendor":"nezhahq","product":"nezha","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01928,"percentile":0.8049,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/nezhahq/nezha/security/advisories/GHSA-5c25-7vpj-9mqh","tags":["x_refsource_CONFIRM"]}],"priority":{"score":27.5,"factors":[{"name":"EPSS percentile","points":16.1},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2026-06-15","earliestUrl":"https://github.com/tar-xz/CVE-2026-53519-PoC","repos":[{"name":"tar-xz/CVE-2026-53519-PoC","url":"https://github.com/tar-xz/CVE-2026-53519-PoC","stars":3,"created":"2026-06-15"}]},"nuclei":[{"id":"CVE-2026-53519","name":"Nezha Dashboard < 2.0.13 - Path Traversal","severity":"critical","path":"http/cves/2026/CVE-2026-53519.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-53519.yaml"}],"first":{"date":"2026-06-15","source":"PoC-in-GitHub","url":"https://github.com/tar-xz/CVE-2026-53519-PoC"},"provenance":"source"},"vendorSlug":"nezhahq","affectedVersions":[{"vendor":"nezhahq","product":"nezha","versions":["< 2.0.13"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-15T18:26:37.174737Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/nezhahq/nezha","vulnerableRanges":["<2.0.13","all versions"],"patched":["2.0.13"],"from":["GHSA-5c25-7vpj-9mqh","GO-2026-5828"],"provenance":"source"}],"summary":{"text":"Nezha Monitoring (product nezha, from vendor nezhahq) has a path traversal flaw in the dashboard's NoRoute handler, which fallbackToFrontend uses to serve admin-frontend assets: prefix matching on raw URLs lets a crafted path such as /dashboard../ escape the admin-dist directory and read files like data/config.yaml, including the jwt_secret_key. An unauthenticated remote attacker with network access to the dashboard can exploit this with a single crafted HTTP request, requiring no privileges, no user interaction and no special configuration; versions before 2.0.13 are affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:20:03Z"},"euvd":{"id":"EUVD-2026-36598","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-47124","published":"2026-06-12","fixed":"1.14.15-0.20260517034128-05e5da253519","kev":false},{"cve":"CVE-2026-47268","published":"2026-06-12","fixed":"2.0.10","kev":false},{"cve":"CVE-2026-48119","published":"2026-06-12","fixed":"2.0.12","kev":false,"link":{"from":"CVE-2026-48119","to":"CVE-2026-53519","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nezhahq/nezha","fromFixed":"2.0.12","toFixed":"2.0.13","daysApart":0}]}},{"cve":"CVE-2026-53519","published":"2026-06-12","fixed":"2.0.13","kev":false},{"cve":"CVE-2026-49396","published":"2026-06-12","fixed":"2.0.14","kev":false,"link":{"from":"CVE-2026-53519","to":"CVE-2026-49396","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nezhahq/nezha","fromFixed":"2.0.13","toFixed":"2.0.14","daysApart":0}]}},{"cve":"CVE-2026-49397","published":"2026-06-12","fixed":"2.0.14","kev":false,"link":{"from":"CVE-2026-53519","to":"CVE-2026-49397","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nezhahq/nezha","fromFixed":"2.0.13","toFixed":"2.0.14","daysApart":0}]}},{"cve":"CVE-2026-53520","published":"2026-06-12","fixed":"2.1.0","kev":false}],"package":"Go:github.com/nezhahq/nezha"}}