{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27470 exists.","fix":"No fix has been published for CVE-2026-27470 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-27470 is a high-severity SQL injection vulnerability in Zoneminder Zoneminder, published on 21 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27470 and fix it if it is affected.\n\nWhat it is: CVE-2026-27470 is a high-severity SQL injection vulnerability in Zoneminder Zoneminder, published on 21 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27470 exists.\n\nAffected product: Zoneminder Zoneminder. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-27470/ (Markdown: https://insights.sbomify.com/CVE-2026-27470/index.md)","id":"CVE-2026-27470","markdown":"https://insights.sbomify.com/CVE-2026-27470/index.md","name":"CVE-2026-27470","record":{"aliases":["DEBIAN-CVE-2026-27470","GHSA-r6gm-478g-f2c4","UBUNTU-CVE-2026-27470"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CCTV software","requires_auth":"low_privilege","summary":"Authenticated users can execute arbitrary SQL queries via stored event fields in ZoneMinder, potentially accessing or modifying database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zoneminder","vendor":"zoneminder"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"ZoneMinder is a free, open source closed-circuit television software application. In versions 1.36.37 and below and 1.37.61 through 1.38.0, there is a second-order SQL Injection vulnerability in the web/ajax/status.php file within the getNearEvents() function. Event field values (specifically Name and Cause) are stored safely via parameterized queries but are later retrieved and concatenated directly into SQL WHERE clauses without escaping. An authenticated user with Events edit and view permissions can exploit this to execute arbitrary SQL queries.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-02-21","github_poc":2,"max_poc_stars":6,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-21T17:05:22Z","kind":"github_poc","ref":"https://github.com/kocaemre/CVE-2026-27470","stars":6,"title":"ZoneMinder Second-Order SQL Injection PoC — CVE-2026-27470"},{"date":"2026-03-13T16:31:56Z","kind":"github_poc","ref":"https://github.com/d3vn0mi/CVE-2026-27470-POC","stars":0,"title":"Python PoC for CVE-2026-27470, authenticated second-order SQL injection in ZoneMinder's getNearEvents() (status.php), CVSS 8.8"}],"tier":"weaponised"},"has_fix":false,"headline":"ZoneMinder: Second-Order SQL Injection in `getNearEvents()` via Stored Event Name and Cause Fields","id":"CVE-2026-27470","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zoneminder:zoneminder","products":["zoneminder:zoneminder"],"type":"sql_injection","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"ERP: Document access through endpoints due to missing validation","id":"CVE-2026-27471"},"packages":[],"prev":{"headline":"Isso: Stored XSS via comment website field","id":"CVE-2026-27469"},"products":["zoneminder"],"published":"2026-02-21","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2008-3882","kev_date_added":null,"published":"2008-09-02"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2025-65791","kev_date_added":null,"published":"2026-02-18"},{"cvss_score":9.8,"headline":"ZoneMinder Time-based SQL Injection","id":"CVE-2024-43360","kev_date_added":null,"published":"2024-08-12"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2022-29806","kev_date_added":null,"published":"2022-04-26"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-8423","kev_date_added":null,"published":"2019-02-18"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-8424","kev_date_added":null,"published":"2019-02-18"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-8427","kev_date_added":null,"published":"2019-02-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-24","vendors":["ZoneMinder"]},"summary":"Authenticated users can execute arbitrary SQL queries via stored event fields in ZoneMinder, potentially accessing or modifying database contents.","url":"https://insights.sbomify.com/CVE-2026-27470/"}