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

Published Oct 27, 2026
·
Updated

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 celpgsql and celtds may permit arbitrary SQL execution when untrusted data is set in the CEL eventtype column by the CELGenUserEvent dialplan application. The celpgsql or celtds 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 Software

11 affected componentsFixes available
Asterisk Asterisk<20.20.1, <21.12.3, <22.10.1, <23.4.1
Asterisk Certified Asterisk<20.7-cert11, <22.8-cert3
debian/asterisk<1:22.10.1+dfsg+~cs6.17.60671434-1
1:22.10.1+dfsg+~cs6.17.60671434-1
debian/asterisk
1:22.10.1+dfsg+~cs6.17.60671434-1
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:22.10.1+dfsg+~cs6.17.60671434-1
  2. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 20.20.1
  3. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 21.12.3
  4. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 22.10.1
  5. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 23.4.1
  6. Upgrade

    Upgrade Certified Asterisk to a version that resolves this vulnerability.

    Fixed in 20.7-cert11
  7. Upgrade

    Upgrade Certified Asterisk to a version that resolves this vulnerability.

    Fixed in 22.8-cert3
  8. Compensating control

    When using CELGenUserEvent with the cel_pgsql or cel_tds backend, ensure that only valid data is passed to the CEL eventtype column.

Event History

Oct 27, 2026
CVE Published
via MITRE·09:45 PM
Data Sourced
via MITRE·09:45 PM
DescriptionWeakness
Data Sourced
via OSV·09:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Oct 28, 2026
Data Sourced
via OSV·08:17 PM
Affected Software
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Only deployments that load and configure the cel_pgsql or cel_tds CEL backend are affected. Deployments using other CEL backends are not identified as affected by the available information.

2

What must an attacker control for exploitation to be possible?

Untrusted data must be passed into the eventtype field through the CELGenUserEvent dialplan application. Exploitation depends on an administrator having a dialplan call to CELGenUserEvent that does not restrict the input to valid data.

3

Are default installations necessarily vulnerable?

No. The affected CEL backend must be loaded and configured, and the dialplan must invoke CELGenUserEvent with insufficient validation of its input.

4

What can be done before upgrading?

Ensure that every CELGenUserEvent dialplan invocation accepts only validated, expected eventtype values, and do not pass untrusted data to it. Where feasible, disable or avoid the cel_pgsql and cel_tds backends until remediation is complete.

5

Which releases contain the fix?

The issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, and 23.4.1, and in Certified Asterisk 20.7-cert11 and 22.8-cert3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203