{"answers":{"affected":"3 open source packages ship an affected version, including github.com/nezhahq/nezha.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53519 exists.","fix":"Upgrade github.com/nezhahq/nezha to 2.0.13 or later.","what":"CVE-2026-53519 is a critical path traversal vulnerability in nezhahq nezha, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-53519 and fix it if it is affected.\n\nWhat it is: CVE-2026-53519 is a critical path traversal vulnerability in nezhahq nezha, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53519 exists.\n\nAffected packages and fixed versions:\n- github.com/nezhahq/nezha (Go): affected all versions; no fix listed\n- github.com/nezhahq/nezha (Go): affected all versions; fixed in 2.0.13\n- github.com/nezhahq/nezha (Go): affected all versions; fixed in 2.0.13\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-53519/ (Markdown: https://insights.sbomify.com/CVE-2026-53519/index.md)","id":"CVE-2026-53519","markdown":"https://insights.sbomify.com/CVE-2026-53519/index.md","name":"CVE-2026-53519","record":{"aliases":["GHSA-5c25-7vpj-9mqh","GO-2026-5828"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Nezha Monitoring","requires_auth":"none","summary":"Unauthenticated attackers can read sensitive configuration files, including JWT secrets, via path traversal in the dashboard handler.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O\u0026M 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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2026-06-15","github_poc":2,"max_poc_stars":3,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-06-15T19:06:37Z","kind":"github_poc","ref":"https://github.com/tar-xz/CVE-2026-53519-PoC","stars":3,"title":"PoC exploit for CVE-2026-53519."},{"date":"2026-09-10T07:17:11Z","kind":"github_poc","ref":"https://github.com/ivanesk315/CVE-2026-53519","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-53519.yaml","stars":null,"title":"Nezha Dashboard \u003c 2.0.13 - Path Traversal"}],"tier":"weaponised"},"has_fix":true,"headline":"Nezha Monitoring: Pre-auth path traversal via /dashboard.. prefix confusion leaks jwt_secret_key","id":"CVE-2026-53519","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Nezha Monitoring: Authenticated users can claim the dashboard Host through NAT and preempt all dashboard routing","id":"CVE-2026-53520"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/nezhahq/nezha","purl":"pkg:golang/github.com/nezhahq/nezha","source":"GO-2026-5828"},{"ecosystem":"Go","fixed":["2.0.13"],"introduced":["0"],"last_affected":[],"package":"github.com/nezhahq/nezha","purl":null,"source":"GHSA-5c25-7vpj-9mqh"},{"ecosystem":"Go","fixed":["2.0.13"],"introduced":["0"],"last_affected":[],"package":"github.com/nezhahq/nezha","purl":"pkg:golang/github.com/nezhahq/nezha","source":"GHSA-5c25-7vpj-9mqh"}],"prev":{"headline":"Better Auth OAuth Provider: Race Condition in Authorization Code Exchange Enables Multi-Use Code Redemption","id":"CVE-2026-53518"},"products":["nezha"],"published":"2026-06-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-15","vendors":["nezhahq"]},"summary":"Unauthenticated attackers can read sensitive configuration files, including JWT secrets, via path traversal in the dashboard handler.","url":"https://insights.sbomify.com/CVE-2026-53519/"}