{"id":"CVE-2026-57203","summary":"Asterisk: Local privilege escalation through ast_loggrabber's world-writable helper location","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, `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.","aliases":["GHSA-xgj6-2gc5-5x9c"],"modified":"2026-10-31T02:30:51.239638260Z","published":"2026-10-27T21:48:40.078Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57203.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-426"]},"references":[{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/20.20.1"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/21.12.3"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/22.10.1"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/23.4.1"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57203.json"},{"type":"ADVISORY","url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-xgj6-2gc5-5x9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57203"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/022407ec47adebe27b7ec8bcf5626e5a02fe1551"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/a51c4e3d6bccce4bc4226c43e78952573a62f165"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/ba8e5bdecd5280fc0ab230df59e41ea21b3a052f"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/bd63fe121d0e86867863bd98b5771e592273b035"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/c0fc2ae54cb6289a48a80333432f5fdf5a40c7de"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/f18ac4c964781f671e400342790bf40679698067"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/asterisk/asterisk","events":[{"introduced":"0"},{"fixed":"1f072600089c8321b8c4141f431742b06cae1c66"},{"fixed":"19ea385cecb1b9403e3d924bcb3d770a04d50b49"},{"introduced":"68349125a8a825b0995b4ab1343c61bdb2ad33e5"},{"fixed":"b9fda9d45703e9dbae5542300bb1f11a1abe2f37"},{"introduced":"31b8dc09238d916be18d93dc7dda30711e636c17"},{"fixed":"f0e408a7b0d829c85bf15fa4b487870a50cb3000"},{"introduced":"ca5335d90ea8dc26fa2ea189f9621b1d8a4a3513"},{"fixed":"9c6d578ea138e2a5df3bbc261b82a94424d6ce53"},{"introduced":"5da1497b742194b535f13e155b87bd698772a4b6"},{"fixed":"3c1105ea3c80209b5420565d125dc2163eba436a"},{"fixed":"022407ec47adebe27b7ec8bcf5626e5a02fe1551"},{"fixed":"a51c4e3d6bccce4bc4226c43e78952573a62f165"},{"fixed":"ba8e5bdecd5280fc0ab230df59e41ea21b3a052f"},{"fixed":"bd63fe121d0e86867863bd98b5771e592273b035"},{"fixed":"c0fc2ae54cb6289a48a80333432f5fdf5a40c7de"},{"fixed":"f18ac4c964781f671e400342790bf40679698067"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"20.20.1"}]},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"20.7-cert11"}]},{"strategy":"StringRangeExpression","range":[{"introduced":"21.0.0-pre1"},{"fixed":"21.12.3"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"22.0.0-pre1"},{"fixed":"22.10.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"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":"REFERENCES_COMMIT","range":[{"fixed":"022407ec47adebe27b7ec8bcf5626e5a02fe1551"}]},{"range":[{"fixed":"a51c4e3d6bccce4bc4226c43e78952573a62f165"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"ba8e5bdecd5280fc0ab230df59e41ea21b3a052f"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"bd63fe121d0e86867863bd98b5771e592273b035"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"c0fc2ae54cb6289a48a80333432f5fdf5a40c7de"}]},{"range":[{"fixed":"f18ac4c964781f671e400342790bf40679698067"}],"source":"REFERENCES_COMMIT"},{"original_tag":"20.20.1","range":[{"fixed":"1f072600089c8321b8c4141f431742b06cae1c66"}],"source":"REFERENCES_TAG"},{"range":[{"fixed":"b9fda9d45703e9dbae5542300bb1f11a1abe2f37"}],"source":"REFERENCES_TAG","original_tag":"21.12.3"},{"source":"REFERENCES_TAG","original_tag":"22.10.1","range":[{"fixed":"f0e408a7b0d829c85bf15fa4b487870a50cb3000"}]},{"range":[{"fixed":"9c6d578ea138e2a5df3bbc261b82a94424d6ce53"}],"source":"REFERENCES_TAG","original_tag":"23.4.1"},{"source":"REFERENCES_TAG","original_tag":"certified-20.7-cert11","range":[{"fixed":"19ea385cecb1b9403e3d924bcb3d770a04d50b49"}]},{"range":[{"fixed":"3c1105ea3c80209b5420565d125dc2163eba436a"}],"source":"REFERENCES_TAG","original_tag":"certified-22.8-cert3"}]}}],"versions":["23.4.0","22.10.0","20.20.0","certified-22.8-cert2","certified-20.7-cert10","21.12.2","23.4.0-rc1","22.10.0-rc1","20.20.0-rc1","23.3.0","22.9.0","20.19.0","23.3.0-rc2","22.9.0-rc2","20.19.0-rc2","23.3.0-rc1","22.9.0-rc1","20.19.0-rc1","certified-22.8-cert1-pre1","22.8.2","23.2.2","20.18.2","certified-22.8-cert1","certified-20.7-cert9","21.12.1","certified-22.8-cert1-rc1","certified-20.7-cert8","23.2.1","21.12.0","20.18.1","23.2.0","20.18.0","20.18.0-rc1","23.2.0-rc1","23.1.0","20.17.0","certified-20.7-cert7","21.12.0-rc2","23.1.0-rc2","20.17.0-rc2","23.1.0-rc1","21.12.0-rc1","20.17.0-rc1","23.0.0","21.11.0","20.16.0","23.0.0-rc2","21.11.0-rc2","20.16.0-rc2","23.0.0-rc1","21.11.0-rc1","20.16.0-rc1","20.15.0","20.15.0-rc3","20.15.0-rc1","20.15.0-rc2","20.15.1","20.15.2","20.14.0","21.10.0","21.10.0-rc3","21.10.0-rc1","21.10.0-rc2","21.10.1","21.10.2","21.9.0","23.0.0-pre1","certified-20.7-cert6","certified-20.7-cert5","certified-20.7-cert4","21.9.0-rc1","20.14.0-rc1","21.8.0","20.13.0","21.8.0-rc1","20.13.0-rc1","21.7.0","20.12.0","21.7.0-rc2","20.12.0-rc2","21.7.0-rc1","20.12.0-rc1","21.6.1","20.11.1","21.6.0","certified-20.7-cert3","20.11.0","21.6.0-rc1","20.11.0-rc1","21.5.0","20.10.0","20.10.0-rc2","21.5.0-rc2","21.5.0-rc1","20.10.0-rc1","21.4.3","20.9.3","certified-20.7-cert2","21.4.2","20.9.2","21.4.1","20.9.1","certified-20.7-cert1","20.9.0","21.4.0","21.4.0-rc1","20.9.0-rc1","certified-20.7-cert1-rc2","21.3.1","20.8.1","21.3.0","20.8.0","21.3.0-rc1","20.8.0-rc1","certified-20.7-cert1-rc1","certified-20.7-cert1-pre1","20.7.0","21.2.0","21.2.0-rc2","20.7.0-rc2","20.7.0-rc1","21.2.0-rc1","21.1.0","20.6.0","21.1.0-rc2","20.6.0-rc2","21.1.0-rc1","20.6.0-rc1","21.0.2","20.5.2","20.5.1","21.0.1","21.0.0","20.5.0","21.0.0-rc1","20.5.0-rc1","21.0.0-pre1","20.4.0","20.4.0-rc2","20.4.0-rc1","20.3.1","20.3.0","20.3.0-rc1","20.2.1","20.2.0","20.2.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57203.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}