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

Medium 6.9 Published Updated

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.

PackageAffectedFixed in
alerta-server PyPIAll versions9.1.0
alerta-server PyPIAll versions9.1.0
alerta-server PyPIAll versions9.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.

Sources

Also known as GHSA-8prr-286p-4w7j, PYSEC-2026-2341.

Is CVE-2026-34400 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free