{"id":"CVE-2026-34400","summary":"alerta-server has potential SQL Injection vulnerability in Query String Syntax (q=) API","details":"Alerta is a monitoring tool. Prior to version 9.1.0, the Query string search API (q=) was vulnerable to SQL injection via the Postgres query parser, which built WHERE clauses by interpolating user-supplied search terms directly into SQL strings via f-strings. This issue has been patched in version 9.1.0.","aliases":["GHSA-8prr-286p-4w7j","PYSEC-2026-2341"],"modified":"2026-10-28T02:30:33.250328979Z","published":"2026-03-31T21:00:59.824Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34400.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/alerta/alerta/releases/tag/v9.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34400.json"},{"type":"ADVISORY","url":"https://github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34400"},{"type":"FIX","url":"https://github.com/alerta/alerta/commit/aeba85a37a09e5769a7a2da56481aa979ff99a00"},{"type":"FIX","url":"https://github.com/alerta/alerta/commit/fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883"},{"type":"FIX","url":"https://github.com/alerta/alerta/pull/2040"},{"type":"FIX","url":"https://github.com/alerta/alerta/pull/712"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alerta/alerta","events":[{"introduced":"0"},{"fixed":"f4312727783dad64198b62ed778bbca98a5144a3"},{"fixed":"aeba85a37a09e5769a7a2da56481aa979ff99a00"},{"fixed":"fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:alerta_project:alerta:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"9.1.0"}]},{"range":[{"fixed":"aeba85a37a09e5769a7a2da56481aa979ff99a00"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v9.1.0","range":[{"fixed":"f4312727783dad64198b62ed778bbca98a5144a3"}],"source":"REFERENCES_TAG"}]}}],"versions":["v6.2.1","v6.2.0","v6.1.0","v6.0.1","v6.0.0","v5.2.9","v5.2.8","v5.2.7","v5.2.6","v5.2.5","v5.2.4","v5.2.3","v5.2.2","v5.2.1","v5.2.0","v5.1.1","v5.1.0","v5.0.9","v5.0.8","v5.0.7","v5.0.6","v5.0.5","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v4.10.2","v5.0.0-rc1","v5.0.0-beta1","v5.0.0-alpha3","v5.0.0-alpha2","v5.0.0-alpha1","v4.5.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34400.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}