{"id":"CVE-2026-57190","title":"Asterisk: SQL Injection in cel_pgsql and cel_tds via CELGenUserEvent eventtype Field","summary":"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 `ce…","severity":"high","cvss":7,"cvssVector":"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","cvssSource":"cna","cwe":["CWE-89"],"vendor":"asterisk","product":"asterisk","affected":["asterisk < 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"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T14:35:01.990459Z"},"published":"2026-10-27","updated":"2026-10-28","sourceUpdated":"2026-10-28T16:13:06.105Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-57190","references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-ph27-3m5q-mj5m","label":"https://github.com/asterisk/asterisk/security/advisories/GHSA-ph27-3m5q-mj5m"},{"url":"https://github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2eca1c9c17e258ed","label":"https://github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2eca1c9c17e258ed"},{"url":"https://github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de45f71d1635d2f4","label":"https://github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de45f71d1635d2f4"},{"url":"https://github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941be22e038b256f","label":"https://github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941be22e038b256f"},{"url":"https://github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b","label":"https://github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b"},{"url":"https://github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22","label":"https://github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22"},{"url":"https://github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46f30494b7c6619","label":"https://github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46f30494b7c6619"},{"url":"https://github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d125a1e917d41ac","label":"https://github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d125a1e917d41ac"},{"url":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","label":"https://github.com/asterisk/asterisk/releases/tag/20.20.1"},{"url":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","label":"https://github.com/asterisk/asterisk/releases/tag/21.12.3"},{"url":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","label":"https://github.com/asterisk/asterisk/releases/tag/22.10.1"},{"url":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","label":"https://github.com/asterisk/asterisk/releases/tag/23.4.1"},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","label":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11"},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","label":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3"},{"url":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","label":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1"}],"tags":["cve.org"],"epss":0.00679,"epssPercentile":0.52215,"ingestedAt":"2026-10-27T21:58:08.744Z","slug":"CVE-2026-57190","body":"## Overview\n\nAsterisk 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.\n\n## Affected\n\n- `asterisk < 20.20.1`\n- `asterisk >= 21.0.0-pre1, < 21.12.3`\n- `asterisk >= 22.0.0-pre1, < 22.10.1`\n- `asterisk >= 23.0.0-pre1, < 23.4.1`\n- `certified-asterisk < 20.7-cert11`\n- `certified-asterisk >= 22.8-cert1-pre1, < 22.8-cert3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}