{"id":"CVE-2026-57203","title":"Asterisk: Local privilege escalation through ast_loggrabber's world-writable helper location","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, `ast_loggrabber` executes a `Python script` from the world-writ…","severity":"medium","cvss":6.9,"cvssVector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","cvssSource":"cna","cwe":["CWE-426"],"vendor":"asterisk","product":"asterisk","affected":["asterisk < 20.20.1","asterisk >= 21.0.0-pre1, < 21.12.3","asterisk >= 22.0.0-pre1, < 22.10.1","asterisk >= 23.0.0-pre1, < 23.4.1","certified-asterisk < 20.7-cert11","certified-asterisk >= 22.8-cert1-pre1, < 22.8-cert3"],"published":"2026-10-27","updated":"2026-10-27","sourceUpdated":"2026-10-27T21:48:40.078Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-57203","references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-xgj6-2gc5-5x9c","label":"https://github.com/asterisk/asterisk/security/advisories/GHSA-xgj6-2gc5-5x9c"},{"url":"https://github.com/asterisk/asterisk/commit/022407ec47adebe27b7ec8bcf5626e5a02fe1551","label":"https://github.com/asterisk/asterisk/commit/022407ec47adebe27b7ec8bcf5626e5a02fe1551"},{"url":"https://github.com/asterisk/asterisk/commit/a51c4e3d6bccce4bc4226c43e78952573a62f165","label":"https://github.com/asterisk/asterisk/commit/a51c4e3d6bccce4bc4226c43e78952573a62f165"},{"url":"https://github.com/asterisk/asterisk/commit/ba8e5bdecd5280fc0ab230df59e41ea21b3a052f","label":"https://github.com/asterisk/asterisk/commit/ba8e5bdecd5280fc0ab230df59e41ea21b3a052f"},{"url":"https://github.com/asterisk/asterisk/commit/bd63fe121d0e86867863bd98b5771e592273b035","label":"https://github.com/asterisk/asterisk/commit/bd63fe121d0e86867863bd98b5771e592273b035"},{"url":"https://github.com/asterisk/asterisk/commit/c0fc2ae54cb6289a48a80333432f5fdf5a40c7de","label":"https://github.com/asterisk/asterisk/commit/c0fc2ae54cb6289a48a80333432f5fdf5a40c7de"},{"url":"https://github.com/asterisk/asterisk/commit/f18ac4c964781f671e400342790bf40679698067","label":"https://github.com/asterisk/asterisk/commit/f18ac4c964781f671e400342790bf40679698067"},{"url":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","label":"https://github.com/asterisk/asterisk/releases/tag/20.20.1"},{"url":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","label":"https://github.com/asterisk/asterisk/releases/tag/21.12.3"},{"url":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","label":"https://github.com/asterisk/asterisk/releases/tag/22.10.1"},{"url":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","label":"https://github.com/asterisk/asterisk/releases/tag/23.4.1"},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","label":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11"},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","label":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3"},{"url":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","label":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1"}],"tags":["cve.org"],"ingestedAt":"2026-10-27T21:58:08.743Z","slug":"CVE-2026-57203","body":"## Overview\n\nAsterisk 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, `ast_loggrabber` executes a `Python script` from the world-writable `/tmp` directory. An attacker already authorized to open a shell session on the Asterisk server may place a malicious script there and gain elevated privileges or execute code when an administrator runs `ast_loggrabber` as a user with elevated privileges. 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.\n\n## Affected\n\n- `asterisk < 20.20.1`\n- `asterisk >= 21.0.0-pre1, < 21.12.3`\n- `asterisk >= 22.0.0-pre1, < 22.10.1`\n- `asterisk >= 23.0.0-pre1, < 23.4.1`\n- `certified-asterisk < 20.7-cert11`\n- `certified-asterisk >= 22.8-cert1-pre1, < 22.8-cert3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":38,"depthScoreParts":{"impact":38,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}