CVE-2025-47780
cli_permissions.conf: deny option does not work for disallowing shell commands
Mitigation
- Upgrade asterisk to 22.4.1 or later.
Who should check
- Anyone running 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
Vulnerability facts
- Affected
- 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
- Fixed in
- asterisk 18.9-cert14, asterisk 18.26.2, asterisk 20.7-cert5, asterisk 20.14.1, asterisk 21.9.1, asterisk 22.4.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.8 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-78
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-47780. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-47780.md Affected: 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 Fixed in: asterisk 18.9-cert14, asterisk 18.26.2, asterisk 20.7-cert5, asterisk 20.14.1, asterisk 21.9.1, asterisk 22.4.1 Steps: 1. Search this machine and project for asterisk: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-47780 being exploited?
There is no confirmed exploitation: CVE-2025-47780 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-47780?
Medium: CVSS 4.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-47780?
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.
Is there a fix for CVE-2025-47780?
Yes. Fixed in asterisk 18.9-cert14, asterisk 18.26.2, asterisk 20.7-cert5, asterisk 20.14.1, asterisk 21.9.1, asterisk 22.4.1. Upgrade asterisk to 22.4.1 or later.
How do I check if I'm affected by CVE-2025-47780?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.