{"id":"CVE-2026-34400","state":"PUBLISHED","title":"alerta-server has potential SQL Injection vulnerability in Query String Syntax (q=) API","description":"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.","publishedAt":"2026-03-31T21:00:59.824Z","updatedAt":"2026-04-03T16:36:42.053Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["alerta alerta"],"affected":[{"vendor":"alerta","product":"alerta","versions":[{"version":"< 9.1.0","status":"affected"}]}],"references":["https://github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j","https://github.com/alerta/alerta/pull/2040","https://github.com/alerta/alerta/pull/712","https://github.com/alerta/alerta/commit/aeba85a37a09e5769a7a2da56481aa979ff99a00","https://github.com/alerta/alerta/commit/fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883","https://github.com/alerta/alerta/releases/tag/v9.1.0"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34400.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34400","state":"PUBLISHED","datePublished":"2026-03-31T21:00:59.824Z","dateUpdated":"2026-04-03T16:36:42.053Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-27T13:45:29.620Z"},"containers":{"cna":{"title":"alerta-server has potential SQL Injection vulnerability in Query String Syntax (q=) API","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"alerta","product":"alerta","versions":[{"version":"< 9.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j","name":"https://github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/alerta/alerta/pull/2040","name":"https://github.com/alerta/alerta/pull/2040","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/pull/712","name":"https://github.com/alerta/alerta/pull/712","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/commit/aeba85a37a09e5769a7a2da56481aa979ff99a00","name":"https://github.com/alerta/alerta/commit/aeba85a37a09e5769a7a2da56481aa979ff99a00","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/commit/fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883","name":"https://github.com/alerta/alerta/commit/fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/releases/tag/v9.1.0","name":"https://github.com/alerta/alerta/releases/tag/v9.1.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-31T21:00:59.824Z"},"source":{"advisory":"GHSA-8prr-286p-4w7j","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-04-03T16:36:18.411062Z","id":"CVE-2026-34400","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-03T16:36:42.053Z"}}]}}}