IT SBIT Services
Schneeberger
DEEN
CVE tracker

Asterisk: ARI setChannelVar bypasses live_dangerously and allows FILE() writes

CVE-2026-57202High 8.1

← All vulnerabilities

Summary

Asterisk, an open source PBX and telephony toolkit, lets an authenticated ARI user with read-only privileges run write dialplan functions through setChannelVar. This includes FILE() writes, even when live_dangerously is set to no. The attacker needs valid read-only ARI credentials, and the Asterisk HTTP server must be enabled and reachable; it is disabled by default and binds only to 127.0.0.1 by default.

Affected

  • Asterisk before 20.20.1
  • Asterisk 21.0.0-pre1 up to before 21.12.3
  • Asterisk 22.0.0-pre1 up to before 22.10.1
  • Asterisk 23.0.0-pre1 up to before 23.4.1
  • Certified Asterisk before 20.7-cert11
  • Certified Asterisk 22.8-cert1-pre1 up to before 22.8-cert3

Fixed in

  • Asterisk 20.20.1
  • Asterisk 21.12.3
  • Asterisk 22.10.1
  • Asterisk 23.4.1
  • Certified Asterisk 20.7-cert11
  • Certified Asterisk 22.8-cert3

Workaround

  • Disable the Asterisk HTTP server if ARI is not required.
  • If ARI is required, keep the HTTP server bound to localhost and block external access to it.
  • Review and rotate ARI credentials, especially read-only accounts, and remove unused accounts.

These measures reduce exposure but do not fix the vulnerability.

Exploitation

  • No public proof of concept known.
  • Not known to be exploited in the wild.
  • CISA SSVC assessment: exploitation none, not automatable, total technical impact.

Our recommendation

  • Update Asterisk or Certified Asterisk to the fixed versions listed above.
  • Check whether the HTTP server and ARI are exposed to the internet or to untrusted networks, and restrict access.
  • Review ARI accounts and credentials and remove unused or former staff accounts.
  • Test custom ARI applications after the update, because dangerous functions may no longer work without live_dangerously.
  • Prioritise internet-exposed systems with ARI enabled.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 1 Nov 2026, 17:53.

Original description (NVD)

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 authenticated Asterisk REST Interface (ARI) attacker with read-only privileges may use `setChannelVar` to execute write dialplan functions, including `FILE()` writes, even when `live_dangerously` in `asterisk.conf` is set to no. The Asterisk HTTP web server must be enabled and reachable, and the attacker must already have valid `read-only ARI credentials`. HTTP is disabled by default and binds only to 127.0.0.1 by default even when enabled. 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.

NVD references (15)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.