# CVE-2025-47780: cli_permissions.conf: deny option does not work for disallowing shell commands

- Severity: Medium 4.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-22T16:56:28.937Z
- Modified: 2026-06-17T09:28:40.713Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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
- sangoma asterisk: before 18.26.2; from 20.0.0 before 20.14.1; from 21.0.0 before 21.9.1; from 22.0.0 before 22.4.1
- sangoma certified_asterisk: before 18.9; 18.9; 20.7

## Every score

- GitHub_M: CVSS:4.0 4.8 Medium `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2> (exploit, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/06/msg00003.html>

## Sources

- CVE List: [CVE-2025-47780](https://www.cve.org/CVERecord?id=CVE-2025-47780), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-47780](https://nvd.nist.gov/vuln/detail/CVE-2025-47780), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47780 · Whole record: https://cve.day/CVE-2025-47780.json · Rebuilt by cve.day 2026-11-25T22:58:58.399Z
