{"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-59155 exists.","fix":"Upgrade github.com/nezhahq/nezha to 2.2.5 or later.","what":"CVE-2026-59155 is a medium-severity vulnerability in nezhahq nezha, published on 10 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-59155 and fix it if it is affected.\n\nWhat it is: CVE-2026-59155 is a medium-severity vulnerability in nezhahq nezha, published on 10 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59155 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.2.5\n- github.com/nezhahq/nezha (Go): affected all versions; fixed in 2.2.5\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-59155/ (Markdown: https://insights.sbomify.com/CVE-2026-59155/index.md)","id":"CVE-2026-59155","markdown":"https://insights.sbomify.com/CVE-2026-59155/index.md","name":"CVE-2026-59155","record":{"aliases":["GHSA-ww5p-j6cj-6mqq","GO-2026-5832"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Nezha Monitoring","requires_auth":"high_privilege","summary":"Authenticated users can retrieve plaintext third-party API credentials from monitoring endpoints due to missing redaction in Nezha Monitoring.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O\u0026M tool. Prior to 2.2.5, the GET /api/v1/ddns and GET /api/v1/notification endpoints return full resource objects including plaintext third-party API credentials, including Cloudflare API tokens, TencentCloud SecretKeys, Slack, Discord, and Telegram webhook URLs with embedded bot tokens, and Authorization header values, without any field-level redaction. Any authenticated admin or PAT with nezha:ddns:read or nezha:notification:read scope can receive stored credentials through the listDDNS and listNotification handlers in a single API response. This issue is fixed in version 2.2.5.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API","id":"CVE-2026-59155","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow","id":"CVE-2026-59156"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/nezhahq/nezha","purl":"pkg:golang/github.com/nezhahq/nezha","source":"GO-2026-5832"},{"ecosystem":"Go","fixed":["2.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/nezhahq/nezha","purl":null,"source":"GHSA-ww5p-j6cj-6mqq"},{"ecosystem":"Go","fixed":["2.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/nezhahq/nezha","purl":"pkg:golang/github.com/nezhahq/nezha","source":"GHSA-ww5p-j6cj-6mqq"}],"prev":{"headline":"Wekan: Checklist direct DDP updates can write checklist data into private boards","id":"CVE-2026-59154"},"products":["nezha"],"published":"2026-07-10","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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-13","vendors":["nezhahq"]},"summary":"Authenticated users can retrieve plaintext third-party API credentials from monitoring endpoints due to missing redaction in Nezha Monitoring.","url":"https://insights.sbomify.com/CVE-2026-59155/"}