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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1220",
"CWE-267"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57202.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "20.20.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "20.7-cert11"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "21.0.0-pre1"
},
{
"fixed": "21.12.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "22.0.0-pre1"
},
{
"fixed": "22.10.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "23.0.0-pre1"
},
{
"fixed": "23.4.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "22.8-cert1-pre1"
},
{
"fixed": "22.8-cert3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "8f8ccaf70a80e518147b0c35c0c252de4735446f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "ba04e7f1f98887c3c6e0dc4ddce663021f7e948a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bf9354267557ef6d6b75f5304faa243f595a5a66"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "caa4d50d9c3bf04fc979b5b2cdc5dc425772d845"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d47b0b6e5a384746db194f751b53d559aba8dba9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d8614505b27688dec3a1d14554f52fda94712928"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "20.20.1",
"range": [
{
"fixed": "1f072600089c8321b8c4141f431742b06cae1c66"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "21.12.3",
"range": [
{
"fixed": "b9fda9d45703e9dbae5542300bb1f11a1abe2f37"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "22.10.1",
"range": [
{
"fixed": "f0e408a7b0d829c85bf15fa4b487870a50cb3000"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "23.4.1",
"range": [
{
"fixed": "9c6d578ea138e2a5df3bbc261b82a94424d6ce53"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "certified-20.7-cert11",
"range": [
{
"fixed": "19ea385cecb1b9403e3d924bcb3d770a04d50b49"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "certified-22.8-cert3",
"range": [
{
"fixed": "3c1105ea3c80209b5420565d125dc2163eba436a"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57202.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"240002463664967289696084660492004636006",
"98905100075425098814296903285077738229",
"133921768959396981601566941186472559405",
"174213660884182369770161017075059056828",
"335830091991471181127703016694114378510"
],
"threshold": 0.9
},
"id": "CVE-2026-57202-101595f8",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/d8614505b27688dec3a1d14554f52fda94712928",
"target": {
"file": "res/stasis/control.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"240002463664967289696084660492004636006",
"98905100075425098814296903285077738229",
"133921768959396981601566941186472559405",
"174213660884182369770161017075059056828",
"335830091991471181127703016694114378510"
],
"threshold": 0.9
},
"id": "CVE-2026-57202-104c87c8",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/d47b0b6e5a384746db194f751b53d559aba8dba9",
"target": {
"file": "res/stasis/control.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "136237865386451578240782047436167689084",
"length": 260
},
"id": "CVE-2026-57202-2acc0f9f",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/ba04e7f1f98887c3c6e0dc4ddce663021f7e948a",
"target": {
"file": "res/stasis/control.c",
"function": "app_control_set_channel_var"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"240002463664967289696084660492004636006",
"181737924786100745929584775417606509108",
"84632713631087529784353468351965635489",
"171340815707267524390276599640175994273",
"324752983943261098336791748162814719839",
"272861572624331453856131676184611960431",
"165150027781399071812777029447517834104",
"335830091991471181127703016694114378510"
],
"threshold": 0.9
},
"id": "CVE-2026-57202-39df98c1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/8f8ccaf70a80e518147b0c35c0c252de4735446f",
"target": {
"file": "res/stasis/control.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "136237865386451578240782047436167689084",
"length": 260
},
"id": "CVE-2026-57202-4d56b707",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/8f8ccaf70a80e518147b0c35c0c252de4735446f",
"target": {
"file": "res/stasis/control.c",
"function": "app_control_set_channel_var"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "136237865386451578240782047436167689084",
"length": 260
},
"id": "CVE-2026-57202-77f441fd",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb",
"target": {
"file": "res/stasis/control.c",
"function": "app_control_set_channel_var"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "220296114941593423319925738550429286101",
"length": 169
},
"id": "CVE-2026-57202-7c3ee9e7",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/bf9354267557ef6d6b75f5304faa243f595a5a66",
"target": {
"file": "res/stasis/control.c",
"function": "app_control_set_channel_var"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "136237865386451578240782047436167689084",
"length": 260
},
"id": "CVE-2026-57202-7d6a3b89",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/caa4d50d9c3bf04fc979b5b2cdc5dc425772d845",
"target": {
"file": "res/stasis/control.c",
"function": "app_control_set_channel_var"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"240002463664967289696084660492004636006",
"181737924786100745929584775417606509108",
"84632713631087529784353468351965635489",
"171340815707267524390276599640175994273",
"324752983943261098336791748162814719839",
"272861572624331453856131676184611960431",
"165150027781399071812777029447517834104",
"335830091991471181127703016694114378510"
],
"threshold": 0.9
},
"id": "CVE-2026-57202-86f14131",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/caa4d50d9c3bf04fc979b5b2cdc5dc425772d845",
"target": {
"file": "res/stasis/control.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "220296114941593423319925738550429286101",
"length": 169
},
"id": "CVE-2026-57202-d02984ab",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/d8614505b27688dec3a1d14554f52fda94712928",
"target": {
"file": "res/stasis/control.c",
"function": "app_control_set_channel_var"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"240002463664967289696084660492004636006",
"98905100075425098814296903285077738229",
"133921768959396981601566941186472559405",
"174213660884182369770161017075059056828",
"335830091991471181127703016694114378510"
],
"threshold": 0.9
},
"id": "CVE-2026-57202-d4a71929",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/bf9354267557ef6d6b75f5304faa243f595a5a66",
"target": {
"file": "res/stasis/control.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "220296114941593423319925738550429286101",
"length": 169
},
"id": "CVE-2026-57202-d6c717d7",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/d47b0b6e5a384746db194f751b53d559aba8dba9",
"target": {
"file": "res/stasis/control.c",
"function": "app_control_set_channel_var"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"240002463664967289696084660492004636006",
"181737924786100745929584775417606509108",
"84632713631087529784353468351965635489",
"171340815707267524390276599640175994273",
"324752983943261098336791748162814719839",
"272861572624331453856131676184611960431",
"165150027781399071812777029447517834104",
"335830091991471181127703016694114378510"
],
"threshold": 0.9
},
"id": "CVE-2026-57202-e800e863",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/ba04e7f1f98887c3c6e0dc4ddce663021f7e948a",
"target": {
"file": "res/stasis/control.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"240002463664967289696084660492004636006",
"181737924786100745929584775417606509108",
"84632713631087529784353468351965635489",
"171340815707267524390276599640175994273",
"324752983943261098336791748162814719839",
"272861572624331453856131676184611960431",
"165150027781399071812777029447517834104",
"335830091991471181127703016694114378510"
],
"threshold": 0.9
},
"id": "CVE-2026-57202-eb7f014c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb",
"target": {
"file": "res/stasis/control.c"
}
}
]
"2026-11-11T13:30:25Z"