CVE-2026-57202
8.1 HIGHpublic exploit availablePublished 2026-10-27 · Updated 2026-10-28
AI risk analysis
- Summary
- An authenticated ARI attacker with read-only privileges can bypass the 'live_dangerously=no' restriction by using the setChannelVar endpoint to invoke write-capable dialplan functions like FILE(), enabling arbitrary file writes on the Asterisk server.
- Exploitability
- Requires valid read-only ARI credentials and HTTP access to the local loopback interface (127.0.0.1), which is disabled by default but may be enabled for legitimate use; exploitation is non-trivial due to credential and network isolation requirements.
- Blast radius
- An attacker could write malicious content to files such as dialplan includes or configuration files, potentially leading to remote code execution or privilege escalation if the written file is later executed or sourced by Asterisk.
- Detection
- Monitor ARI logs for setChannelVar calls targeting dialplan functions known to perform writes (e.g., FILE(), DB_DELETE(), DB_EXISTS()) from read-only ARI sessions; such calls should not occur under normal operation when live_dangerously=no.
- Prioritized remediation
- Upgrade to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1, or Certified Asterisk 20.7-cert11, 22.8-cert3 immediately.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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, 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-267, CWE-1220
Public exploit & PoC references
- https://github.com/asterisk/asterisk/commit/8f8ccaf70a80e518147b0c35c0c252de4735446f
- https://github.com/asterisk/asterisk/commit/92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb
- https://github.com/asterisk/asterisk/commit/ba04e7f1f98887c3c6e0dc4ddce663021f7e948a
- https://github.com/asterisk/asterisk/commit/bf9354267557ef6d6b75f5304faa243f595a5a66
- https://github.com/asterisk/asterisk/commit/caa4d50d9c3bf04fc979b5b2cdc5dc425772d845
- https://github.com/asterisk/asterisk/commit/d47b0b6e5a384746db194f751b53d559aba8dba9
- https://github.com/asterisk/asterisk/commit/d8614505b27688dec3a1d14554f52fda94712928
- 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/security/advisories/GHSA-vrfp-mg3q-3959
- https://github.com/asterisk/asterisk/tree/24.0.0-pre1
All references
- https://github.com/asterisk/asterisk/commit/8f8ccaf70a80e518147b0c35c0c252de4735446f
- https://github.com/asterisk/asterisk/commit/92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb
- https://github.com/asterisk/asterisk/commit/ba04e7f1f98887c3c6e0dc4ddce663021f7e948a
- https://github.com/asterisk/asterisk/commit/bf9354267557ef6d6b75f5304faa243f595a5a66
- https://github.com/asterisk/asterisk/commit/caa4d50d9c3bf04fc979b5b2cdc5dc425772d845
- https://github.com/asterisk/asterisk/commit/d47b0b6e5a384746db194f751b53d559aba8dba9
- https://github.com/asterisk/asterisk/commit/d8614505b27688dec3a1d14554f52fda94712928
- 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/security/advisories/GHSA-vrfp-mg3q-3959
- https://github.com/asterisk/asterisk/tree/24.0.0-pre1
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-105476
- HIGHCVE-2026-107814PoC
- HIGHCVE-2026-111681PoC
- HIGHCVE-2026-111722PoC
- HIGHCVE-2026-111723PoC
- HIGHCVE-2026-111909PoC
- HIGHCVE-2026-114069PoC
- CRITICALCVE-2026-115375PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.