CVE-2026-57202

Source
https://cve.org/CVERecord?id=CVE-2026-57202
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57202.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57202
Aliases
  • GHSA-vrfp-mg3q-3959
Downstream
Published
2026-10-27T17:58:46Z
Modified
2026-11-11T13:30:25Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes
Details

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.

Database specific
{
    "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"
}
References

Affected packages

Git / github.com/asterisk/asterisk

Affected ranges

Type
GIT
Repo
https://github.com/asterisk/asterisk
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

20.*
20.10.0
20.10.0-rc1
20.10.0-rc2
20.11.0
20.11.0-rc1
20.11.1
20.12.0
20.12.0-rc1
20.12.0-rc2
20.13.0
20.13.0-rc1
20.14.0
20.14.0-rc1
20.15.0
20.15.0-rc1
20.15.0-rc2
20.15.0-rc3
20.15.1
20.15.2
20.16.0
20.16.0-rc1
20.16.0-rc2
20.17.0
20.17.0-rc1
20.17.0-rc2
20.18.0
20.18.0-rc1
20.18.1
20.18.2
20.19.0
20.19.0-rc1
20.19.0-rc2
20.2.0
20.2.0-rc1
20.2.1
20.20.0
20.20.0-rc1
20.3.0
20.3.0-rc1
20.3.1
20.4.0
20.4.0-rc1
20.4.0-rc2
20.5.0
20.5.0-rc1
20.5.1
20.5.2
20.6.0
20.6.0-rc1
20.6.0-rc2
20.7.0
20.7.0-rc1
20.7.0-rc2
20.8.0
20.8.0-rc1
20.8.1
20.9.0
20.9.0-rc1
20.9.1
20.9.2
20.9.3
21.*
21.0.0
21.0.0-pre1
21.0.0-rc1
21.0.1
21.0.2
21.1.0
21.1.0-rc1
21.1.0-rc2
21.10.0
21.10.0-rc1
21.10.0-rc2
21.10.0-rc3
21.10.1
21.10.2
21.11.0
21.11.0-rc1
21.11.0-rc2
21.12.0
21.12.0-rc1
21.12.0-rc2
21.12.1
21.12.2
21.2.0
21.2.0-rc1
21.2.0-rc2
21.3.0
21.3.0-rc1
21.3.1
21.4.0
21.4.0-rc1
21.4.1
21.4.2
21.4.3
21.5.0
21.5.0-rc1
21.5.0-rc2
21.6.0
21.6.0-rc1
21.6.1
21.7.0
21.7.0-rc1
21.7.0-rc2
21.8.0
21.8.0-rc1
21.9.0
21.9.0-rc1
22.*
22.10.0
22.10.0-rc1
22.8.2
22.9.0
22.9.0-rc1
22.9.0-rc2
23.*
23.0.0
23.0.0-pre1
23.0.0-rc1
23.0.0-rc2
23.1.0
23.1.0-rc1
23.1.0-rc2
23.2.0
23.2.0-rc1
23.2.1
23.2.2
23.3.0
23.3.0-rc1
23.3.0-rc2
23.4.0
23.4.0-rc1
certified-20.*
certified-20.7-cert1
certified-20.7-cert1-pre1
certified-20.7-cert1-rc1
certified-20.7-cert1-rc2
certified-20.7-cert10
certified-20.7-cert2
certified-20.7-cert3
certified-20.7-cert4
certified-20.7-cert5
certified-20.7-cert6
certified-20.7-cert7
certified-20.7-cert8
certified-20.7-cert9
certified-22.*
certified-22.8-cert1
certified-22.8-cert1-pre1
certified-22.8-cert1-rc1
certified-22.8-cert2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57202.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-11T13:30:25Z"