High severity · published May 22, 2025
CVE-2025-47780
cli_permissions.conf: deny option does not work for disallowing shell commands
7.8
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
asterisk · asterisk
< 18.9-cert14; >= 18.10, < 18.26.2; >= 20.0, < 20.7-cert5; >= 20.8, < 20.14.1; >= 21.0, < 21.9.1; >= 22.0, < 22.4.1 · source: vendor, NVD
CA
Certified Asterisk · Sangoma
before 18.9; 18.9; 18.9; 18.9; 18.9; 18.9; +18 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-47780
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-47780
Exploit
https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/06/msg00003.html
More from asterisk
8.8
CVE-2026-23741
ast_coredumper running as root sources ast_debug_tools.conf from /etc/asterisk; potentially leading to privilege escalation
8.8
CVE-2024-42365
Asterisk allows `Write=originate` as sufficient permissions for code execution / `System()` dialplan
8.2
CVE-2026-57191
Asterisk: Stack buffer overflow in MWI NOTIFY Message-Account parsing
8.1
CVE-2026-57202
Asterisk: ARI setChannelVar bypasses live_dangerously and permits FILE() writes
7.8
CVE-2026-23740
Asterisk vulnerable to potential privilege escalation
