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.
References10
- github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2ec…
- github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de4…
- github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941…
- github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7…
- github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa…
- github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46…
- github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d1…
- github.com/asterisk/asterisk/releases/tag/20.20.1
- github.com/asterisk/asterisk/releases/tag/21.12.3
- github.com/asterisk/asterisk/releases/tag/22.10.1
Metrics
- CVSS 4.0
-
7.0
HIGH
Score source: CNA
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 - EPSS — exploit probability
- 1% percentile: 52 · as of 3 November 2026
- CWE
- CWE-89
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.