Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | While CVSS and EPSS scores are not available, the risk is objectively high due to multiple converging signals: CWE-89 SQL injection has a well-established attack surface with minimal exploit complexity; the attack vector is network-based and requires no authentication (the 'q=' parameter is part of a search API, typically public-facing); and SQL injection against a monitoring tool's database provides access to operational intelligence and potentially system credentials stored within alerts or configurations. The absence of CVSS/EPSS metrics is atypical for a confirmed SQL injection and may reflect early disclosure or assessment delays. The presence of multiple commits and pull requests (PR #2040, #712, and specific commits) indicating upstream remediation strengthens confidence in the vulnerability's validity. This is a real priority vulnerability: SQL injection with network-unauthenticated attack vector and database-level impact is inherently critical regardless of scoring gaps. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers or probes an Alerta instance with an exposed search API. The attacker crafts a malicious search query such as 'q=test' OR '1'='1' -- or uses UNION-based injection to extract data from system tables. The unsanitized input is interpolated into the SQL WHERE clause (e.g., WHERE name LIKE '%test' OR '1'='1' --%'), bypassing the intended query logic. The attacker retrieves sensitive alert data, system configurations, or escalates the attack to extract or modify database contents, potentially compromising the monitoring infrastructure itself. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
SQL injection in Alerta's Query string search API (q= parameter) allows unauthenticated remote attackers to execute arbitrary SQL commands against the underlying PostgreSQL database. The vulnerability stems from unsafe f-string interpolation of user-supplied search terms directly into SQL WHERE clauses without parameterization. Alerta versions prior to 9.1.0 are affected; the vulnerability has been patched in version 9.1.0 with no public exploit code identified at time of analysis.
RemediationAI
Upgrade Alerta to version 9.1.0 or later immediately. The vendor-released patch is available as version 9.1.0, which incorporates fixes from PR #2040 and related commits (aeba85a37a09e5769a7a2da56481aa979ff99a00 and fdd52cd1abad8d02d1dfb8ecdcdbb43b6af3b883) that replace unsafe f-string interpolation with parameterized queries. Users unable to upgrade immediately should restrict network access to the Query string search API endpoint and disable or rate-limit the 'q=' parameter functionality at the application or WAF level. Consult the GitHub Security Advisory at https://github.com/alerta/alerta/security/advisories/GHSA-8prr-286p-4w7j for additional mitigation guidance and to confirm patch availability for your deployment environment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Alerta is a monitoring and alerting tool that uses PostgreSQL as its backend database. The vulnerability exists in the Query string search API endpoint, which accepts a 'q=' parameter for user-defined searches. The root cause is CWE-89 (SQL Injection): the application constructs SQL WHERE clauses using Python f-strings that directly interpolate unsanitized user input instead of employing parameterized queries or prepared statements. This classic SQL injection pattern allows attackers to break out of the intended query context and inject arbitrary SQL syntax. The PostgreSQL query parser processes the malformed SQL, enabling full database compromise including data exfiltration, modification, and deletion.
Know when Alerta gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-17664
GHSA-8prr-286p-4w7j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB