CVE-2025-47780cli_permissions.conf: deny option does not work for disallowing shell commands
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | asterisk | Fix pending | UBUNTU-CVE-2025-47780 | |
| Ubuntu 26.04 | asterisk | Under investigation | UBUNTU-CVE-2025-47780 | |
| Ubuntu 25.10 | asterisk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-47780 | |
| Ubuntu 24.04 | asterisk | Under investigation | UBUNTU-CVE-2025-47780 | |
| Ubuntu 22.04 | asterisk | Under investigation | UBUNTU-CVE-2025-47780 | |
| Ubuntu 20.04 | asterisk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-47780 | |
| Ubuntu 18.04 | asterisk | Fix pending | UBUNTU-CVE-2025-47780 | |
| Ubuntu 16.04 | asterisk | Fix pending | UBUNTU-CVE-2025-47780 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- asterisk: affected: < 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
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.