CVE-2026-57190

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

State
Published
Severity
7.0 High
Published
Oct 27, 2026
Updated
Oct 28, 2026
Reserved
Jun 24, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:H/SI:L/SA:LGitHub_M

Weaknesses

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

Affected Products

ProductVersions
asteriskasterisk
  • < 20.20.1Affected
  • >= 21.0.0-pre1, < 21.12.3Affected
  • >= 22.0.0-pre1, < 22.10.1Affected
  • >= 23.0.0-pre1, < 23.4.1Affected
certified-asteriskasterisk
  • < 20.7-cert11Affected
  • >= 22.8-cert1-pre1, < 22.8-cert3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.