CVE-2026-57196: Asterisk: Reflected XSS in Phone Provisioning HTTP Error Pages

Published Oct 26, 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, an unauthenticated attacker may use reflected cross-site scripting in phone provisioning HTTP error pages to retrieve an authorized user's AMI session cookie and impersonate that user when resphoneprov is enabled. The Asterisk HTTP web server, Asterisk Manager Interface (AMI), and AMI access via HTTP must all be enabled; each is disabled by default. The attacker must be able to connect to the HTTP server, which binds only to 127.0.0.1 by default even when enabled, and must convince the authorized user to click a malicious link. 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
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
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

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

Event History

Oct 26, 2026
CVE Published
via MITRE·07:27 PM
Data Sourced
via MITRE·07:27 PM
DescriptionWeakness
Data Sourced
via OSV·07:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08: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 realistically exposed to this issue?

Exposure requires res_phoneprov to be enabled, along with the Asterisk HTTP web server, AMI, and AMI access over HTTP. Those three services are disabled by default, and the HTTP server binds to 127.0.0.1 by default even when enabled.

2

What must an attacker do to exploit the vulnerability?

The attacker must be able to connect to the Asterisk HTTP server and persuade an authorized AMI user to open a malicious link. Successful exploitation can expose that user's AMI session cookie and allow impersonation.

3

What can be done if an update cannot be applied immediately?

Disable res_phoneprov or disable the Asterisk HTTP server, AMI, or AMI access via HTTP where operationally feasible. Restrict access to the HTTP server so untrusted attackers cannot connect, particularly if it has been configured to listen beyond localhost.

4

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