{"id":"UBUNTU-CVE-2026-27470","details":"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.","modified":"2026-11-24T14:55:24.701398041Z","published":"2026-02-21T08:16:00Z","upstream":["CVE-2026-27470"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-27470"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-27470"},{"type":"REPORT","url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-r6gm-478g-f2c4"},{"type":"REPORT","url":"https://github.com/ZoneMinder/zoneminder/releases/tag/1.36.38"},{"type":"REPORT","url":"https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.1"},{"type":"REPORT","url":"https://owasp.org/www-community/attacks/SQL_Injection"}],"affected":[{"package":{"name":"zoneminder","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/zoneminder?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.28.1-8","1.29.0+dfsg-1","1.29.0+dfsg-1ubuntu1","1.29.0+dfsg-1ubuntu2","1.29.0+dfsg-1ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"zoneminder","binary_version":"1.29.0+dfsg-1ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27470.json"}},{"package":{"name":"zoneminder","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/zoneminder?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.32.3-2build1","1.32.3-2ubuntu1","1.32.3-2ubuntu2","1.32.3-2ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"zoneminder","binary_version":"1.32.3-2ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27470.json"}},{"package":{"name":"zoneminder","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/zoneminder?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.36.7+dfsg1-1","1.36.10+dfsg1-1","1.36.11+dfsg1-1","1.36.12+dfsg1-1","1.36.12+dfsg1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"zoneminder","binary_version":"1.36.12+dfsg1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27470.json"}},{"package":{"name":"zoneminder","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/zoneminder?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.36.33+dfsg1-1build1","1.36.33+dfsg1-1build2","1.36.33+dfsg1-1build3","1.36.33+dfsg1-1build4"],"ecosystem_specific":{"binaries":[{"binary_name":"zoneminder","binary_version":"1.36.33+dfsg1-1build4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27470.json"}},{"package":{"name":"zoneminder","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/zoneminder?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.36.35+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"zoneminder","binary_version":"1.36.35+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27470.json"}},{"package":{"name":"zoneminder","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/zoneminder?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.36.37+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"zoneminder","binary_version":"1.36.37+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27470.json"}},{"package":{"name":"zoneminder","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/zoneminder?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.36.35+dfsg1-1","1.36.37+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"zoneminder","binary_version":"1.36.37+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27470.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}