CVE-2026-57190: Asterisk: SQL Injection in cel_pgsql and cel_tds via CELGenUserEvent eventtype Field

CVE-2026-57190 affects 239 listed versions of Sangoma Asterisk in the Dawnsentry catalogue.

7.0CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
27 October 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Sangoma Asterisk

239 of 250 listed versions are affected. Fixed in 23.4.1, 22.10.1, 21.12.3, 20.20.1. The newest release, 24.0.0, is not affected.

23.4.0 23.3.0 23.2.2 23.2.1 23.2.0 23.1.0 23.0.0 22.10.0 22.9.0 22.8.2 22.8.1 22.8.0 22.7.0 22.6.0 22.5.2 22.5.1 22.5.0 22.4.1 22.4.0 22.3.0 22.2.0 22.1.1 22.1.0 22.0.0 22.0.0-rc2 22.0.0-rc1 21.12.2 21.12.1 21.12.0 21.11.0 21.10.2 21.10.1 21.10.0 21.9.1 21.9.0 21.8.0 21.7.0 21.6.1 21.6.0 21.5.0 21.4.3 21.4.2 21.4.1 21.4.0 21.3.1 21.3.0 21.2.0 21.1.0 21.0.2 21.0.1 21.0.0 20.20.0 20.19.0 20.18.2 20.18.1 20.18.0 20.17.0 20.16.0 20.15.2 20.15.1 and 179 more

What it is

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.

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 (GitHub)

Published by GitHub on 27 October 2026. Last changed 28 October 2026.

Sources

Check one version you run: look CVE-2026-57190 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.