Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. alerta-server
  4. ›
  5. CVE-2026-34400

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

March 31, 2026 (updated April 6, 2026)

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.

References

  • github.com/advisories/GHSA-8prr-286p-4w7j
  • github.com/alerta/alerta
  • github.com/alerta/alerta/commit/aeba85a37a09e5769a7a2da56481aa979ff99a00
  • github.com/alerta/alerta/commit/fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883
  • github.com/alerta/alerta/pull/2040
  • github.com/alerta/alerta/pull/712
  • github.com/alerta/alerta/releases/tag/v9.1.0
  • github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j
  • nvd.nist.gov/vuln/detail/CVE-2026-34400

Code Behaviors & Features

Detect and mitigate CVE-2026-34400 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.1.0

Fixed versions

  • 9.1.0

Solution

Upgrade to version 9.1.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/alerta-server/CVE-2026-34400.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:12 +0000.