# CVE-2026-34400: alerta-server has potential SQL Injection vulnerability in Query String Syntax (q=) API

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.01%, higher than 81% of CVEs (2026-12-01)
- Published: 2026-03-31T21:00:59.824Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-8prr-286p-4w7j, PYSEC-2026-2341
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- alerta alerta: < 9.1.0
- alerta-server (PyPI): before 9.1.0
- alerta_project alerta: before 9.1.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j> (vendor-advisory, web)
- <https://github.com/alerta/alerta/pull/2040> (issue-tracking, patch, web)
- <https://github.com/alerta/alerta/pull/712> (issue-tracking, patch, web)
- <https://github.com/alerta/alerta/commit/aeba85a37a09e5769a7a2da56481aa979ff99a00> (patch, web)
- <https://github.com/alerta/alerta/commit/fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883> (patch, web)
- <https://github.com/alerta/alerta/releases/tag/v9.1.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34400> (advisory)
- <https://github.com/alerta/alerta> (package)
- <https://pypi.org/project/alerta-server> (package)
- <https://github.com/advisories/GHSA-8prr-286p-4w7j> (advisory)

## Sources

- CVE List: [CVE-2026-34400](https://www.cve.org/CVERecord?id=CVE-2026-34400), CVE Terms of Use, modified 2026-04-03
- GitHub Advisory Database: [GHSA-8prr-286p-4w7j](https://github.com/advisories/GHSA-8prr-286p-4w7j), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-34400](https://nvd.nist.gov/vuln/detail/CVE-2026-34400), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2341](https://osv.dev/vulnerability/PYSEC-2026-2341), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34400 · Whole record: https://cve.day/CVE-2026-34400.json · Rebuilt by cve.day 2026-11-25T22:59:17.640Z
