CVE-2026-34400 alerta-server has potential SQL Injection vulnerability in Query String Syntax (q=) API
Attackers can execute arbitrary SQL commands via the query string API, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-34400?
CVE-2026-34400 is a medium-severity SQL injection vulnerability in alerta, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-34400?
3 open source packages ship an affected version, including alerta-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
alerta-server PyPI | All versions | 9.1.0 |
alerta-server PyPI | All versions | 9.1.0 |
alerta-server PyPI | All versions | 9.1.0 |
Products include Alerta Project Alerta.
How do I fix CVE-2026-34400?
Upgrade alerta-server to 9.1.0 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-34400 being exploited?
There is no known exploitation of CVE-2026-34400 in the wild and no public exploit code.
Other vulnerabilities in alerta
Sources
Also known as GHSA-8prr-286p-4w7j, PYSEC-2026-2341.