CVEsasteriskCVE-2026-57190Published Oct 27, 21:45 · Updated Oct 28, 16:13 UTC
7.0
HighCVSS 4.0 · from GitHub_M
CVE-2026-57190

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

asterisk · SQL injection · CWE-89
Affectedasterisk, certified-asterisk
FixNo fix listed yet.
PublishedOct 27, 21:45 · GitHub_M
ScoredOct 27 · 7.0 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:06 UTC

What we know

No known exploitation. CISA KEV, checked 22:06 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inasterisk< 20.20.1–asterisk>= 21.0.0-pre1, < 21.12.3–asterisk>= 22.0.0-pre1, < 22.10.1–asterisk>= 23.0.0-pre1, < 23.4.1–certified-asterisk< 20.7-cert11–certified-asterisk>= 22.8-cert1-pre1, < 22.8-cert3–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

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

Other CVEs in asterisk

All 36 →
2.3Asterisk: Asterisk app_sms.c copies externally controlled SMS lengths into fixed in-struct buffers · CVE-2026-57199Oct 276.9Asterisk: Local privilege escalation through ast_loggrabber's world-writable helper location · CVE-2026-57203Oct 278.2Asterisk: Stack buffer overflow in MWI NOTIFY Message-Account parsing · CVE-2026-57191Oct 27