{"id":"CVE-2026-57190","state":"PUBLISHED","title":"Asterisk: SQL Injection in cel_pgsql and cel_tds via CELGenUserEvent eventtype Field","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.","publishedAt":"2026-10-27T21:45:50.075Z","updatedAt":"2026-10-28T16:13:06.105Z","severity":{"score":7,"label":"High","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["asterisk asterisk","asterisk certified-asterisk"],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 20.20.1","status":"affected"},{"version":">= 21.0.0-pre1, < 21.12.3","status":"affected"},{"version":">= 22.0.0-pre1, < 22.10.1","status":"affected"},{"version":">= 23.0.0-pre1, < 23.4.1","status":"affected"}]},{"vendor":"asterisk","product":"certified-asterisk","versions":[{"version":"< 20.7-cert11","status":"affected"},{"version":">= 22.8-cert1-pre1, < 22.8-cert3","status":"affected"}]}],"references":["https://github.com/asterisk/asterisk/security/advisories/GHSA-ph27-3m5q-mj5m","https://github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2eca1c9c17e258ed","https://github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de45f71d1635d2f4","https://github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941be22e038b256f","https://github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b","https://github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22","https://github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46f30494b7c6619","https://github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d125a1e917d41ac","https://github.com/asterisk/asterisk/releases/tag/20.20.1","https://github.com/asterisk/asterisk/releases/tag/21.12.3","https://github.com/asterisk/asterisk/releases/tag/22.10.1","https://github.com/asterisk/asterisk/releases/tag/23.4.1","https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","https://github.com/asterisk/asterisk/tree/24.0.0-pre1"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57190.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57190","state":"PUBLISHED","datePublished":"2026-10-27T21:45:50.075Z","dateUpdated":"2026-10-28T16:13:06.105Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-24T02:00:46.799Z"},"containers":{"cna":{"title":"Asterisk: SQL Injection in cel_pgsql and cel_tds via CELGenUserEvent eventtype Field","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 20.20.1","status":"affected"},{"version":">= 21.0.0-pre1, < 21.12.3","status":"affected"},{"version":">= 22.0.0-pre1, < 22.10.1","status":"affected"},{"version":">= 23.0.0-pre1, < 23.4.1","status":"affected"}]},{"vendor":"asterisk","product":"certified-asterisk","versions":[{"version":"< 20.7-cert11","status":"affected"},{"version":">= 22.8-cert1-pre1, < 22.8-cert3","status":"affected"}]}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-ph27-3m5q-mj5m","name":"https://github.com/asterisk/asterisk/security/advisories/GHSA-ph27-3m5q-mj5m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2eca1c9c17e258ed","name":"https://github.com/asterisk/asterisk/commit/046a8b0b50623d80926c1adc2eca1c9c17e258ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de45f71d1635d2f4","name":"https://github.com/asterisk/asterisk/commit/0a86e45e8cde7630276f8363de45f71d1635d2f4","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941be22e038b256f","name":"https://github.com/asterisk/asterisk/commit/88c65757b56c716b5a175f35941be22e038b256f","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b","name":"https://github.com/asterisk/asterisk/commit/8bf7746d01221d6d2bcfcd46ba7a1cff066a1a8b","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22","name":"https://github.com/asterisk/asterisk/commit/8cb6dfd41debb2259ec3a33ccfa78f1d902e4c22","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46f30494b7c6619","name":"https://github.com/asterisk/asterisk/commit/a04bee3992c28e1681457370e46f30494b7c6619","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d125a1e917d41ac","name":"https://github.com/asterisk/asterisk/commit/ff21d90e61d199db9b963c671d125a1e917d41ac","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","name":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","name":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","name":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","name":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","name":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","name":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","name":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"LOW","subAvailabilityImpact":"LOW","baseScore":7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-27T21:45:50.075Z"},"source":{"advisory":"GHSA-ph27-3m5q-mj5m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-28T14:35:01.990459Z","id":"CVE-2026-57190","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-28T16:13:06.105Z"}}]}}}