{"id":"CVE-2026-34400","published":"2026-03-31T21:00:59Z","modified":"2026-04-03T16:36:42Z","title":"alerta-server has potential SQL Injection vulnerability in Query String Syntax (q=) API","vendor":"alerta","product":"alerta","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02255,"percentile":0.83624,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/alerta/alerta/pull/2040","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/pull/712","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/commit/aeba85a37a09e5769a7a2da56481aa979ff99a00","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/commit/fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883","tags":["x_refsource_MISC"]},{"url":"https://github.com/alerta/alerta/releases/tag/v9.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":26.6,"factors":[{"name":"EPSS percentile","points":16.72},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.83}]},"exploitSources":{"nuclei":[{"id":"CVE-2026-34400","name":"Alerta - SQL Injection","severity":"critical","path":"http/cves/2026/CVE-2026-34400.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34400.yaml"}],"provenance":"source"},"vendorSlug":"alerta","affectedVersions":[{"vendor":"alerta","product":"alerta","versions":["< 9.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-03T16:36:18.411062Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"alerta-server","vulnerableRanges":["<9.1.0"],"patched":["9.1.0"],"from":["GHSA-8prr-286p-4w7j","PYSEC-2026-2341"],"provenance":"source"}],"summary":{"text":"The flaw is an SQL injection in the Query string search API (q=) of the alerta-server component of the Alerta monitoring tool, where the Postgres query parser builds WHERE clauses by interpolating user-supplied search terms directly into SQL strings. An attacker with network access can exploit it without authentication or user interaction by supplying crafted search terms to the q= parameter, which alters the executed SQL and may let them read or modify data in the database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:02Z"},"euvd":{"id":"EUVD-2026-17664","exploited":false,"provenance":"source"}}