7

CVE-2026-57190

Asterisk: SQL Injection in cel_pgsql and cel_tds via CELGenUserEvent eventtype Field

Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, the `PostgreSQL` and `TDS/MSSQL` Channel Event Log backends `cel_pgsql` and `cel_tds` may permit arbitrary SQL execution when untrusted data is set in the CEL `eventtype` column by the `CELGenUserEvent` dialplan application. The `cel_pgsql` or `cel_tds` backend must be loaded and configured, and the administrator must call `CELGenUserEvent` in the dialplan without ensuring that only valid data is passed to the application. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
Herstellerasterisk
≫
Produkt asterisk
Version < 20.20.1
Status affected
Version >= 21.0.0-pre1, < 21.12.3
Status affected
Version >= 22.0.0-pre1, < 22.10.1
Status affected
Version >= 23.0.0-pre1, < 23.4.1
Status affected
Herstellerasterisk
≫
Produkt certified-asterisk
Version < 20.7-cert11
Status affected
Version >= 22.8-cert1-pre1, < 22.8-cert3
Status affected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.68% 0.522
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security-advisories@github.com 7 0 0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:H/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

https://github.com/asterisk/asterisk/releases/tag/20.20.1
https://github.com/asterisk/asterisk/releases/tag/21.12.3
https://github.com/asterisk/asterisk/releases/tag/22.10.1
https://github.com/asterisk/asterisk/releases/tag/23.4.1
https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11
https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3
https://github.com/asterisk/asterisk/tree/24.0.0-pre1
https://github.com/asterisk/asterisk/security/advisories/GHSA-ph27-3m5q-mj5m
https://github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2eca1c9c17e258ed
https://github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de45f71d1635d2f4
https://github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941be22e038b256f
https://github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b
https://github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22
https://github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46f30494b7c6619
https://github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d125a1e917d41ac