{"id":"CVE-2026-57202","state":"PUBLISHED","title":"Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes","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.","publishedAt":"2026-10-27T17:58:46.257Z","updatedAt":"2026-10-28T16:13:52.414Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","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-vrfp-mg3q-3959","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/tree/24.0.0-pre1"],"weaknesses":["CWE-267","CWE-1220"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57202.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57202","state":"PUBLISHED","datePublished":"2026-10-27T17:58:46.257Z","dateUpdated":"2026-10-28T16:13:52.414Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-24T02:00:46.800Z"},"containers":{"cna":{"title":"Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes","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, 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."}],"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-vrfp-mg3q-3959","name":"https://github.com/asterisk/asterisk/security/advisories/GHSA-vrfp-mg3q-3959","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/asterisk/asterisk/commit/8f8ccaf70a80e518147b0c35c0c252de4735446f","name":"https://github.com/asterisk/asterisk/commit/8f8ccaf70a80e518147b0c35c0c252de4735446f","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb","name":"https://github.com/asterisk/asterisk/commit/92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/ba04e7f1f98887c3c6e0dc4ddce663021f7e948a","name":"https://github.com/asterisk/asterisk/commit/ba04e7f1f98887c3c6e0dc4ddce663021f7e948a","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/bf9354267557ef6d6b75f5304faa243f595a5a66","name":"https://github.com/asterisk/asterisk/commit/bf9354267557ef6d6b75f5304faa243f595a5a66","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/caa4d50d9c3bf04fc979b5b2cdc5dc425772d845","name":"https://github.com/asterisk/asterisk/commit/caa4d50d9c3bf04fc979b5b2cdc5dc425772d845","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/d47b0b6e5a384746db194f751b53d559aba8dba9","name":"https://github.com/asterisk/asterisk/commit/d47b0b6e5a384746db194f751b53d559aba8dba9","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/d8614505b27688dec3a1d14554f52fda94712928","name":"https://github.com/asterisk/asterisk/commit/d8614505b27688dec3a1d14554f52fda94712928","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":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-267","lang":"en","description":"CWE-267: Privilege Defined With Unsafe Actions","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1220","lang":"en","description":"CWE-1220: Insufficient Granularity of Access Control","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-27T17:58:46.257Z"},"source":{"advisory":"GHSA-vrfp-mg3q-3959","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-28T14:58:17.687111Z","id":"CVE-2026-57202","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-28T16:13:52.414Z"}}]}}}