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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2025-05-22T16:56:28.937Z
- **Modified:** 2026-06-17T09:28:40.713Z

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

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

- 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)

## Mitigation

- Upgrade asterisk to 22.4.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

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

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-47780>

HTML: <https://flawdb.com/CVE-2025-47780> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-47780>
