Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes
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.
- Products
- asterisk, certified-asterisk
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-57202
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:17 UTC · Revision 1
Source evidence
Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes
core-cve · Original sourcePublished 27 Oct 2026, 17:58 UTC
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.
cve:CVE-2026-57202
asterisk
Fixed versions: Not specified
certified-asterisk
Fixed versions: Not specified
Complete source record
{
"id": "26cc86ffb34dc32203d3c57753179d657c5cdde7b4dbb307ee85311a63015c95",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-57202",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes",
"summary": "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.",
"evidence": "cve:CVE-2026-57202",
"products": [
{
"name": {
"value": "asterisk",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
},
{
"name": {
"value": "certified-asterisk",
"evidence": "/containers/cna/affected/1/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-57202",
"aliases": [
"CVE-2026-57202"
],
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
}
],
"affected": [
{
"vendor": "asterisk",
"product": "asterisk",
"versions": [
{
"status": "affected",
"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"
}
]
},
{
"vendor": "asterisk",
"product": "certified-asterisk",
"versions": [
{
"status": "affected",
"version": "< 20.7-cert11"
},
{
"status": "affected",
"version": ">= 22.8-cert1-pre1, < 22.8-cert3"
}
]
}
],
"modified": "2026-10-28T16:13:52.414Z",
"provider": "cve",
"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"
],
"provider_metadata": {
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-57202",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-28T14:58:17.687111Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-28T16:13:52.414Z"
}
}
],
"cna": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-10-27T17:58:46.257Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-57202",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 460239,
"published_at": "2026-10-27T17:58:46.257+00:00"
}