{"id":"CVE-2026-23741","aliases":["CVE-2026-23741"],"related":[],"kind":"vulnerability","state":"published","title":"ast_coredumper running as root sources ast_debug_tools.conf from /etc/asterisk; potentially leading to privilege escalation","summary":"Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2, the asterisk/contrib/scripts/ast_coredumper runs as root, as noted by the NOTES tag on line 689 of the ast_coredumper file. The script will source the contents of /etc/asterisk/ast_debug_tools.conf, which resides in a folder that is writeable by the asterisk user:group. Due to the /etc/asterisk/ast_debug_tools.conf file following bash semantics and it being loaded; an attacker with write permissions may add or modify the file such that when the root ast_coredumper is run; it would source and thereby execute arbitrary bash code found in the /etc/asterisk/ast_debug_tools.conf. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2, the asterisk/contrib/scripts/ast_coredumper runs as root, as noted by the NOTES tag on line 689 of the ast_coredumper file. The script will source the contents of /etc/asterisk/ast_debug_tools.conf, which resides in a folder that is writeable by the asterisk user:group. Due to the /etc/asterisk/ast_debug_tools.conf file following bash semantics and it being loaded; an attacker with write permissions may add or modify the file such that when the root ast_coredumper is run; it would source and thereby execute arbitrary bash code found in the /etc/asterisk/ast_debug_tools.conf. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.","source":"cvelist"},{"lang":"es","text":"Asterisk es un kit de herramientas de telefonía y centralita privada de código abierto. Antes de las versiones 20.7-cert9, 20.18.2, 21.12.1, 22.8.2 y 23.2.2, el script asterisk/contrib/scripts/ast_coredumper se ejecuta como root, como se indica en la etiqueta NOTES en la línea 689 del archivo ast_coredumper. El script obtendrá el contenido de /etc/asterisk/ast_debug_tools.conf, que reside en una carpeta que es escribible por el usuario:grupo asterisk. Debido a que el archivo /etc/asterisk/ast_debug_tools.conf sigue la semántica de bash y a que se carga; un atacante con permisos de escritura puede añadir o modificar el archivo de tal manera que cuando se ejecute el ast_coredumper de root; este obtendría y, por lo tanto, ejecutaría código bash arbitrario encontrado en el /etc/asterisk/ast_debug_tools.conf. Este problema ha sido parcheado en las versiones 20.7-cert9, 20.18.2, 21.12.1, 22.8.2 y 23.2.2.","source":"nvd"}],"published":"2026-02-06T16:47:19.611Z","modified":"2026-06-17T10:22:01.827Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:N","score":0,"rating":"NONE"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:N","score":0,"rating":"NONE"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-427"],"affected":[{"ranges":[{"version":"< 23.2.2","status":"affected"},{"version":"< 22.8.2","status":"affected"},{"version":"< 21.12.1","status":"affected"},{"version":"< 20.18.2","status":"affected"},{"version":"< 20.7-cert9","status":"affected"}],"vendor":"asterisk","product":"asterisk","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"20.18.2"},{"status":"affected","introduced":"21.0.0","fixed":"21.12.1"},{"status":"affected","introduced":"22.0.0","fixed":"22.8.2"},{"status":"affected","introduced":"23.0.0","fixed":"23.2.2"}],"vendor":"sangoma","product":"asterisk","cpe":"cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"18.9"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"}],"vendor":"sangoma","product":"certified_asterisk","cpe":"cpe:2.3:a:sangoma:certified_asterisk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-rvch-3jmx-3jf3","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-06T17:22:49.844Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23741","url":"https://www.cve.org/CVERecord?id=CVE-2026-23741","licence":"CVE Terms of Use","modified":"2026-02-06T17:26:22.216Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23741","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23741","licence":"Public domain","modified":"2026-06-17T10:22:01.827Z"}],"updatedAt":"2026-11-25T22:59:13.555Z","epss":{"score":0.00211,"percentile":0.11966,"date":"2026-12-02T12:00:21.000Z"}}