{
  "id": "CVE-2026-57202",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-57202",
  "published_at": "2026-10-27T17:58:46.257Z",
  "title": "Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes",
  "vendor": "asterisk",
  "product": "asterisk",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-267",
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "asterisk",
        "product": "asterisk",
        "ranges": [
          "\u003c 20.20.1",
          "\u003e= 21.0.0-pre1, \u003c 21.12.3",
          "\u003e= 22.0.0-pre1, \u003c 22.10.1",
          "\u003e= 23.0.0-pre1, \u003c 23.4.1"
        ],
        "fixed_in": [
          "20.20.1",
          "21.12.3",
          "22.10.1",
          "23.4.1"
        ]
      },
      {
        "vendor": "asterisk",
        "product": "certified-asterisk",
        "ranges": [
          "\u003c 20.7-cert11",
          "\u003e= 22.8-cert1-pre1, \u003c 22.8-cert3"
        ],
        "fixed_in": [
          "20.7-cert11",
          "22.8-cert3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade asterisk to 20.20.1 or 21.12.3 or 22.10.1 or 23.4.1 or later.",
      "Upgrade certified-asterisk to 20.7-cert11 or 22.8-cert3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/asterisk/asterisk/security/advisories/GHSA-vrfp-mg3q-3959"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/asterisk/asterisk/commit/8f8ccaf70a80e518147b0c35c0c252de4735446f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/asterisk/asterisk/commit/92a5dd1003b737ae1cd2df4e60b73beb8d5e42bb"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/asterisk/asterisk/commit/ba04e7f1f98887c3c6e0dc4ddce663021f7e948a"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/asterisk/asterisk/commit/bf9354267557ef6d6b75f5304faa243f595a5a66"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/asterisk/asterisk/commit/caa4d50d9c3bf04fc979b5b2cdc5dc425772d845"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/asterisk/asterisk/commit/d47b0b6e5a384746db194f751b53d559aba8dba9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/asterisk/asterisk/commit/d8614505b27688dec3a1d14554f52fda94712928"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
