CVE-2026-57196

Source
https://cve.org/CVERecord?id=CVE-2026-57196
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57196.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57196
Aliases
  • GHSA-4pgv-j3mr-3rcp
Downstream
Published
2026-10-26T19:27:35Z
Modified
2026-11-11T13:30:27Z
Severity
  • 2.3 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Asterisk: Reflected XSS in Phone Provisioning HTTP Error Pages
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 unauthenticated attacker may use reflected cross-site scripting in phone provisioning HTTP error pages to retrieve an authorized user's AMI session cookie and impersonate that user when res_phoneprov is enabled. The Asterisk HTTP web server, Asterisk Manager Interface (AMI), and AMI access via HTTP must all be enabled; each is disabled by default. The attacker must be able to connect to the HTTP server, which binds only to 127.0.0.1 by default even when enabled, and must convince the authorized user to click a malicious link. 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-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57196.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": "4373f8174bf71c467fc9db96036126d30425b9e8"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "4b360a61d649a7c12b1021aa554642322ee28c10"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "60c23d8b56b2cf93caceb527e07654b16f388343"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "87399593cda601ae3670bf890bdb32f78e881bf3"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "9cff8e62fbd9e7db87c233de3335047df88877d0"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "dc43c5b32a3a216da4c9e95388fbadaca3e78bc8"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "e6998409f73f49959d0062c695bb9a2f611af5ac"
                }
            ],
            "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-57196.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "267820441169782411309831469337602780610",
            "length": 1101
        },
        "id": "CVE-2026-57196-011a121d",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/9cff8e62fbd9e7db87c233de3335047df88877d0",
        "target": {
            "file": "main/http.c",
            "function": "ast_http_create_response"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "225368120593595760770981762259019001973",
                "176759336012435793833442747930503462107",
                "47337042964889953797648620314143152896",
                "329997624014238831879587093299860413834",
                "161261457714598961176187351009862367928",
                "261598659752874809189700221008005081913",
                "96453330346411208742055676306693249708",
                "273643111949756060178331966463720579759",
                "89377198166090000422209067892812974841",
                "317837534977083792333899531398403008474",
                "200752922966839855968311302824721271016"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57196-0445c3de",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/60c23d8b56b2cf93caceb527e07654b16f388343",
        "target": {
            "file": "main/http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "267820441169782411309831469337602780610",
            "length": 1101
        },
        "id": "CVE-2026-57196-0b7a3d8c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/4373f8174bf71c467fc9db96036126d30425b9e8",
        "target": {
            "file": "main/http.c",
            "function": "ast_http_create_response"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "267820441169782411309831469337602780610",
            "length": 1101
        },
        "id": "CVE-2026-57196-230323dc",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/dc43c5b32a3a216da4c9e95388fbadaca3e78bc8",
        "target": {
            "file": "main/http.c",
            "function": "ast_http_create_response"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "225368120593595760770981762259019001973",
                "176759336012435793833442747930503462107",
                "47337042964889953797648620314143152896",
                "329997624014238831879587093299860413834",
                "161261457714598961176187351009862367928",
                "261598659752874809189700221008005081913",
                "96453330346411208742055676306693249708",
                "273643111949756060178331966463720579759",
                "89377198166090000422209067892812974841",
                "317837534977083792333899531398403008474",
                "200752922966839855968311302824721271016"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57196-372006b7",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/dc43c5b32a3a216da4c9e95388fbadaca3e78bc8",
        "target": {
            "file": "main/http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "225368120593595760770981762259019001973",
                "176759336012435793833442747930503462107",
                "47337042964889953797648620314143152896",
                "329997624014238831879587093299860413834",
                "161261457714598961176187351009862367928",
                "261598659752874809189700221008005081913",
                "96453330346411208742055676306693249708",
                "273643111949756060178331966463720579759",
                "89377198166090000422209067892812974841",
                "317837534977083792333899531398403008474",
                "200752922966839855968311302824721271016"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57196-616c57fc",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/4373f8174bf71c467fc9db96036126d30425b9e8",
        "target": {
            "file": "main/http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "225368120593595760770981762259019001973",
                "176759336012435793833442747930503462107",
                "47337042964889953797648620314143152896",
                "329997624014238831879587093299860413834",
                "161261457714598961176187351009862367928",
                "261598659752874809189700221008005081913",
                "96453330346411208742055676306693249708",
                "273643111949756060178331966463720579759",
                "89377198166090000422209067892812974841",
                "317837534977083792333899531398403008474",
                "200752922966839855968311302824721271016"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57196-6c834676",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/87399593cda601ae3670bf890bdb32f78e881bf3",
        "target": {
            "file": "main/http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "225368120593595760770981762259019001973",
                "176759336012435793833442747930503462107",
                "47337042964889953797648620314143152896",
                "329997624014238831879587093299860413834",
                "161261457714598961176187351009862367928",
                "261598659752874809189700221008005081913",
                "96453330346411208742055676306693249708",
                "273643111949756060178331966463720579759",
                "89377198166090000422209067892812974841",
                "317837534977083792333899531398403008474",
                "200752922966839855968311302824721271016"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57196-707f40e0",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/9cff8e62fbd9e7db87c233de3335047df88877d0",
        "target": {
            "file": "main/http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "225368120593595760770981762259019001973",
                "176759336012435793833442747930503462107",
                "47337042964889953797648620314143152896",
                "329997624014238831879587093299860413834",
                "161261457714598961176187351009862367928",
                "261598659752874809189700221008005081913",
                "96453330346411208742055676306693249708",
                "273643111949756060178331966463720579759",
                "89377198166090000422209067892812974841",
                "317837534977083792333899531398403008474",
                "200752922966839855968311302824721271016"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57196-70f92a7d",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/4b360a61d649a7c12b1021aa554642322ee28c10",
        "target": {
            "file": "main/http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "267820441169782411309831469337602780610",
            "length": 1101
        },
        "id": "CVE-2026-57196-988457a2",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/60c23d8b56b2cf93caceb527e07654b16f388343",
        "target": {
            "file": "main/http.c",
            "function": "ast_http_create_response"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "267820441169782411309831469337602780610",
            "length": 1101
        },
        "id": "CVE-2026-57196-a7199b3e",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/87399593cda601ae3670bf890bdb32f78e881bf3",
        "target": {
            "file": "main/http.c",
            "function": "ast_http_create_response"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "267820441169782411309831469337602780610",
            "length": 1101
        },
        "id": "CVE-2026-57196-bcc894e9",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/e6998409f73f49959d0062c695bb9a2f611af5ac",
        "target": {
            "file": "main/http.c",
            "function": "ast_http_create_response"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "225368120593595760770981762259019001973",
                "176759336012435793833442747930503462107",
                "47337042964889953797648620314143152896",
                "329997624014238831879587093299860413834",
                "161261457714598961176187351009862367928",
                "261598659752874809189700221008005081913",
                "96453330346411208742055676306693249708",
                "273643111949756060178331966463720579759",
                "89377198166090000422209067892812974841",
                "317837534977083792333899531398403008474",
                "200752922966839855968311302824721271016"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57196-e0fa5163",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/e6998409f73f49959d0062c695bb9a2f611af5ac",
        "target": {
            "file": "main/http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "267820441169782411309831469337602780610",
            "length": 1101
        },
        "id": "CVE-2026-57196-ff208695",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/4b360a61d649a7c12b1021aa554642322ee28c10",
        "target": {
            "file": "main/http.c",
            "function": "ast_http_create_response"
        }
    }
]
vanir_signatures_modified
"2026-11-11T13:30:27Z"