{"id":"CVE-2026-57203","state":"PUBLISHED","title":"Asterisk: Local privilege escalation through ast_loggrabber's world-writable helper location","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, `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.","publishedAt":"2026-10-27T21:48:40.078Z","updatedAt":"2026-10-29T18:22:00.568Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["asterisk asterisk","asterisk certified-asterisk"],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 20.20.1","status":"affected"},{"version":">= 21.0.0-pre1, < 21.12.3","status":"affected"},{"version":">= 22.0.0-pre1, < 22.10.1","status":"affected"},{"version":">= 23.0.0-pre1, < 23.4.1","status":"affected"}]},{"vendor":"asterisk","product":"certified-asterisk","versions":[{"version":"< 20.7-cert11","status":"affected"},{"version":">= 22.8-cert1-pre1, < 22.8-cert3","status":"affected"}]}],"references":["https://github.com/asterisk/asterisk/security/advisories/GHSA-xgj6-2gc5-5x9c","https://github.com/asterisk/asterisk/commit/022407ec47adebe27b7ec8bcf5626e5a02fe1551","https://github.com/asterisk/asterisk/commit/a51c4e3d6bccce4bc4226c43e78952573a62f165","https://github.com/asterisk/asterisk/commit/ba8e5bdecd5280fc0ab230df59e41ea21b3a052f","https://github.com/asterisk/asterisk/commit/bd63fe121d0e86867863bd98b5771e592273b035","https://github.com/asterisk/asterisk/commit/c0fc2ae54cb6289a48a80333432f5fdf5a40c7de","https://github.com/asterisk/asterisk/commit/f18ac4c964781f671e400342790bf40679698067","https://github.com/asterisk/asterisk/releases/tag/20.20.1","https://github.com/asterisk/asterisk/releases/tag/21.12.3","https://github.com/asterisk/asterisk/releases/tag/22.10.1","https://github.com/asterisk/asterisk/releases/tag/23.4.1","https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","https://github.com/asterisk/asterisk/tree/24.0.0-pre1"],"weaknesses":["CWE-426"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57203.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57203","state":"PUBLISHED","datePublished":"2026-10-27T21:48:40.078Z","dateUpdated":"2026-10-29T18:22:00.568Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-24T02:00:46.801Z"},"containers":{"cna":{"title":"Asterisk: Local privilege escalation through ast_loggrabber's world-writable helper location","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 20.20.1","status":"affected"},{"version":">= 21.0.0-pre1, < 21.12.3","status":"affected"},{"version":">= 22.0.0-pre1, < 22.10.1","status":"affected"},{"version":">= 23.0.0-pre1, < 23.4.1","status":"affected"}]},{"vendor":"asterisk","product":"certified-asterisk","versions":[{"version":"< 20.7-cert11","status":"affected"},{"version":">= 22.8-cert1-pre1, < 22.8-cert3","status":"affected"}]}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-xgj6-2gc5-5x9c","name":"https://github.com/asterisk/asterisk/security/advisories/GHSA-xgj6-2gc5-5x9c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/asterisk/asterisk/commit/022407ec47adebe27b7ec8bcf5626e5a02fe1551","name":"https://github.com/asterisk/asterisk/commit/022407ec47adebe27b7ec8bcf5626e5a02fe1551","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/a51c4e3d6bccce4bc4226c43e78952573a62f165","name":"https://github.com/asterisk/asterisk/commit/a51c4e3d6bccce4bc4226c43e78952573a62f165","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/ba8e5bdecd5280fc0ab230df59e41ea21b3a052f","name":"https://github.com/asterisk/asterisk/commit/ba8e5bdecd5280fc0ab230df59e41ea21b3a052f","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/bd63fe121d0e86867863bd98b5771e592273b035","name":"https://github.com/asterisk/asterisk/commit/bd63fe121d0e86867863bd98b5771e592273b035","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/c0fc2ae54cb6289a48a80333432f5fdf5a40c7de","name":"https://github.com/asterisk/asterisk/commit/c0fc2ae54cb6289a48a80333432f5fdf5a40c7de","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/f18ac4c964781f671e400342790bf40679698067","name":"https://github.com/asterisk/asterisk/commit/f18ac4c964781f671e400342790bf40679698067","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","name":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","name":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","name":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","name":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","name":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","name":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","name":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-426","lang":"en","description":"CWE-426: Untrusted Search Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-27T21:48:40.078Z"},"source":{"advisory":"GHSA-xgj6-2gc5-5x9c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T18:21:40.577736Z","id":"CVE-2026-57203","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T18:22:00.568Z"}}]}}}