CVE-2025-47780Public exploit

Shell command execution via skipped CLI permission check

Published May 22, 2025 · Updated Nov 3, 2025

OS command injection in affected Asterisk releases allows local users to execute arbitrary shell commands through the CLI. The remoteconsolehandler() and consolehandler() paths invoke ast_safe_system before cli_has_permissions(), bypassing deny rules for commands prefixed with !. Exploitation requires access to an Asterisk console and an installation that relies on cli_permissions.conf to block shell execution.

CVSS severity4.8
Medium
EPSS probability0.26%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

OS command injection in affected Asterisk releases allows local users to execute arbitrary shell commands through the CLI. The remoteconsolehandler() and consolehandler() paths invoke ast_safe_system before cli_has_permissions(), bypassing deny rules for commands prefixed with !. Exploitation requires access to an Asterisk console and an installation that relies on cli_permissions.conf to block shell execution.

The record

CVE
CVE-2025-47780
Published
May 22, 2025
Updated
Nov 3, 2025
Vendor
Asterisk
Product
Asterisk
Classifications
CWE-78, T1059.004
Attack vector
local
Privileges
Unavailable

Timeline

How it unfolded

  1. May 22, 2025CVE publishedPublication date reported by the CVE source.
  2. Nov 3, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=>= 18.10, < 18.26.2
  2. Affected versionversion=< 18.9-cert14
  3. Affected versionversion=>= 20.0, < 20.7-cert5
  4. Affected versionversion=>= 20.8, < 20.14.1
  5. Affected versionversion=>= 21.0, < 21.9.1
  6. Affected versionversion=>= 22.0, < 22.4.1

What conditions does exploitation require?

Attack vectorlocal
Required privilegesUnavailable in this record.

What is affected?

Asterisk · Asteriskversion=>= 18.10, < 18.26.2; version=< 18.9-cert14; version=>= 20.0, < 20.7-cert5; version=>= 20.8, < 20.14.1; version=>= 21.0, < 21.9.1; version=>= 22.0, < 22.4.1

Published CVSS scores

4.8GitHubCVSS: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 describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
PrivilegesUnavailable
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
T1059.004Unix Shell

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo