{"id":"CVE-2025-47780","summary":"cli_permissions.conf: deny option does not work for disallowing shell commands","details":"Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of Asterisk and versions 18.9-cert14 and 20.7-cert5 of certified-asterisk, trying to disallow shell commands to be run via the Asterisk command line interface (CLI) by configuring `cli_permissions.conf` (e.g. with the config line `deny=!*`) does not work which could lead to a security risk. If an administrator running an Asterisk instance relies on the `cli_permissions.conf` file to work and expects it to deny all attempts to execute shell commands, then this could lead to a security vulnerability. Versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of Asterisk and versions 18.9-cert14 and 20.7-cert5 of certified-asterisk fix the issue.","aliases":["GHSA-c7p6-7mvq-8jq2"],"modified":"2026-08-12T03:51:20.672887032Z","published":"2025-05-22T16:56:28.937Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47780.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00003.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47780.json"},{"type":"ADVISORY","url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47780"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/asterisk/asterisk","events":[{"introduced":"0"},{"fixed":"0376da363c48289070211b76c220f6a7cddbda18"},{"fixed":"85601849c646709836f59007d04ca829ef0d5955"},{"introduced":"c6c7103efa6605a6db7ca28b4b17cd2d1c15a05c"},{"fixed":"6657e9766d05771c514b8bff7a3e51bd3ed18d1b"},{"introduced":"12da95e53ff42287ad69d6d5922e06c3d62010ac"},{"fixed":"5d8b6b4f8c66bbab9ef93b1765960232a6828209"},{"introduced":"8e4a09f71162ebc1e4bb2159dfc638aa2328047c"},{"fixed":"4b77b570e6b0308118f1ad9596ba60456ed80834"},{"introduced":"85601849c646709836f59007d04ca829ef0d5955"},{"last_affected":"3b79feb88a815b6b9bf5ee4343029e2fa8ae05e6"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"18.26.2"},{"fixed":"18.9"},{"introduced":"20.0.0"},{"fixed":"20.14.1"},{"introduced":"21.0.0"},{"fixed":"21.9.1"},{"introduced":"22.0.0"},{"fixed":"22.4.1"},{"introduced":"18.9-NA"},{"last_affected":"18.9-NA"},{"introduced":"18.9-cert1"},{"last_affected":"18.9-cert1"},{"introduced":"18.9-cert1\\-rc1"},{"last_affected":"18.9-cert1\\-rc1"},{"introduced":"18.9-cert10"},{"last_affected":"18.9-cert10"},{"introduced":"18.9-cert11"},{"last_affected":"18.9-cert11"},{"introduced":"18.9-cert12"},{"last_affected":"18.9-cert12"},{"introduced":"18.9-cert13"},{"last_affected":"18.9-cert13"},{"introduced":"18.9-cert2"},{"last_affected":"18.9-cert2"},{"introduced":"18.9-cert3"},{"last_affected":"18.9-cert3"},{"introduced":"18.9-cert4"},{"last_affected":"18.9-cert4"},{"introduced":"18.9-cert5"},{"last_affected":"18.9-cert5"},{"introduced":"18.9-cert6"},{"last_affected":"18.9-cert6"},{"introduced":"18.9-cert7"},{"last_affected":"18.9-cert7"},{"introduced":"18.9-cert8"},{"last_affected":"18.9-cert8"},{"introduced":"18.9-cert8\\-rc1"},{"last_affected":"18.9-cert8\\-rc1"},{"introduced":"18.9-cert8\\-rc2"},{"last_affected":"18.9-cert8\\-rc2"},{"introduced":"18.9-cert9"},{"last_affected":"18.9-cert9"},{"introduced":"20.7-cert1"},{"last_affected":"20.7-cert1"},{"introduced":"20.7-cert1\\-rc1"},{"last_affected":"20.7-cert1\\-rc1"},{"introduced":"20.7-cert1\\-rc2"},{"last_affected":"20.7-cert1\\-rc2"},{"introduced":"20.7-cert2"},{"last_affected":"20.7-cert2"},{"introduced":"20.7-cert3"},{"last_affected":"20.7-cert3"},{"introduced":"20.7-cert4"},{"last_affected":"20.7-cert4"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:*:*:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:-:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1-rc1:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert10:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert11:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert12:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert13:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert2:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert3:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert4:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert5:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert6:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert7:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc1:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc2:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:18.9:cert9:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc1:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc2:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:20.7:cert2:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:20.7:cert3:*:*:*:*:*:*","cpe:2.3:a:sangoma:certified_asterisk:20.7:cert4:*:*:*:*:*:*"]}}],"versions":["18.9-NA","18.9-cert1","18.9-cert10","18.9-cert11","18.9-cert12","18.9-cert13","18.9-cert1\\-rc1","18.9-cert2","18.9-cert3","18.9-cert4","18.9-cert5","18.9-cert6","18.9-cert7","18.9-cert8","18.9-cert8\\-rc1","18.9-cert8\\-rc2","18.9-cert9","20.7-cert1","20.7-cert1\\-rc1","20.7-cert1\\-rc2","20.7-cert2","20.7-cert3","20.7-cert4","20.14.0","21.9.0","22.4.0","certified-20.7-cert4","18.26.1","22.4.0-rc1","21.9.0-rc1","20.14.0-rc1","22.3.0","21.8.0","20.13.0","22.3.0-rc1","21.8.0-rc1","20.13.0-rc1","22.2.0","21.7.0","20.12.0","22.2.0-rc2","21.7.0-rc2","20.12.0-rc2","22.2.0-rc1","21.7.0-rc1","20.12.0-rc1","22.1.1","21.6.1","20.11.1","22.1.0","21.6.0","certified-20.7-cert3","20.11.0","18.26.0","18.26.0-rc1","22.1.0-rc1","21.6.0-rc1","20.11.0-rc1","22.0.0","21.5.0","20.10.0","18.25.0","18.25.0-rc2","20.10.0-rc2","21.5.0-rc2","21.5.0-rc1","20.10.0-rc1","18.25.0-rc1","21.4.3","20.9.3","18.24.3","certified-20.7-cert2","21.4.2","20.9.2","18.24.2","21.4.1","20.9.1","18.24.1","certified-20.7-cert1","18.24.0","20.9.0","21.4.0","21.4.0-rc1","20.9.0-rc1","18.24.0-rc1","certified-20.7-cert1-rc2","21.3.1","20.8.1","18.23.1","21.3.0","20.8.0","18.23.0","21.3.0-rc1","20.8.0-rc1","18.23.0-rc1","certified-20.7-cert1-rc1","certified-20.7-cert1-pre1","20.7.0","21.2.0","18.22.0","21.2.0-rc2","20.7.0-rc2","18.22.0-rc2","20.7.0-rc1","18.22.0-rc1","21.2.0-rc1","21.1.0","20.6.0","18.21.0","21.1.0-rc2","20.6.0-rc2","18.21.0-rc2","21.1.0-rc1","20.6.0-rc1","18.21.0-rc1","21.0.2","20.5.2","18.20.2","18.20.1","20.5.1","21.0.1","21.0.0","20.5.0","18.20.0","20.5.0-rc1","18.20.0-rc1","20.4.0","18.19.0","18.19.0-rc2","20.4.0-rc2","20.4.0-rc1","18.19.0-rc1","20.3.1","18.18.1","20.3.0","18.18.0","20.3.0-rc1","18.18.0-rc1","20.2.1","18.17.1","20.2.0","18.17.0","20.2.0-rc1","18.17.0-rc1","18.9.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47780.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}]}