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

CVE-2025-47780 affects 183 listed versions of Sangoma Asterisk in the Dawnsentry catalogue.

7.8CVSS high
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
22 May 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Sangoma Asterisk

183 of 250 listed versions are affected. Fixed in 22.4.1, 21.9.1, 20.14.1, 20.7-cert5, 18.26.2, 18.9-cert14. The newest release, 24.0.0, is not affected.

22.4.0 22.3.0 22.2.0 22.1.1 22.1.0 22.0.0 22.0.0-rc2 22.0.0-rc1 21.9.0 21.8.0 21.7.0 21.6.1 21.6.0 21.5.0 21.4.3 21.4.2 21.4.1 21.4.0 21.3.1 21.3.0 21.2.0 21.1.0 21.0.2 21.0.1 21.0.0 20.14.0 20.13.0 20.12.0 20.11.1 20.11.0 20.10.0 20.9.3 20.9.2 20.9.1 20.9.0 20.8.1 20.8.0 20.7.0 20.7-cert9 20.7-cert7 20.7-cert5 20.7-cert2 20.6.0 20.5.2 20.5.1 20.5.0 20.4.0 20.3.1 20.3.0 20.2.1 20.2.0 20.1.0 20.0.1 20.0.0 18.26.1 18.26.0 18.25.0 18.24.3 18.24.2 18.24.1 and 123 more

What it is

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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by GitHub on 22 May 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-47780 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.