CVE-2026-54674

Authenticated Command Injection in FreePBX UCP Interface

Published Sep 28, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
FreePBX is an open source IP PBX. Prior to versions 16.0.39 and 17.0.7, users authenticated via User Control Panel (UCP) are able to execute arbitrary commands on the PBX as the webserver user (typically asterisk) using specially crafted HTTP strings. Authenticated access to UCP is required. Note that this is often more common for less-privileged users to have UCP access vs. the Administrator Control Panel (ACP) access (which is usually FreePBX higher-level administrator accounts only). Insufficient sanitization of certain URL parameters utilized by UCP did not fully account for malicious strings in these fields. This could result in binaries being executed on the host server by carefully chaining commands. This issue has been patched in versions 16.0.39 and 17.0.7.

Analysis

AI-generated

Technical impact

FreePBX, an open‑source IP PBX, had a vulnerability in its User Control Panel (UCP) that allowed an authenticated user to execute arbitrary commands on the server as the webserver user (typically asterisk). The flaw stems from insufficient sanitization of specific URL parameters, enabling attackers to craft requests that trigger command execution. Because the attacker already holds UCP credentials, which are often granted to lower‑privilege users, the vulnerability can be leveraged by a broad set of accounts to compromise the confidentiality and integrity of the PBX system.

Affected Systems

Versions of FreePBX prior to 16.0.39 and 17.0.7 are affected. The vulnerability exists only within the UCP subset of the application and does not impact the higher‑privilege Administrator Control Panel.

Risk and Exploitability

The CVSS score of 8.6 indicates high severity. EPSS is not available and the vulnerability is not listed in CISA’s KEV catalog, but because the flaw requires only normal UCP authentication, the attack surface is large. The exploit path is straightforward: send a specially crafted HTTP request to a UCP endpoint; the string is passed to a shell without proper filtering, resulting in command execution as the webserver user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FreePBX 16.0.39 or 17.0.7 or later, which contains the command‑sanitization patch.
  • Remove or limit UCP access for non‑administrator accounts until the patch is applied, reducing the attacker’s capabilities.
  • Deploy a web application firewall or similar policy to block injection attempts by filtering suspicious URL parameters targeting the UCP interface.

Generated by OpenCVE AI on September 28, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sangoma
Sangoma freepbx
CPEs cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
Vendors & Products Sangoma
Sangoma freepbx
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Freepbx
Freepbx security-reporting
Vendors & Products Freepbx
Freepbx security-reporting
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description FreePBX is an open source IP PBX. Prior to versions 16.0.39 and 17.0.7, users authenticated via User Control Panel (UCP) are able to execute arbitrary commands on the PBX as the webserver user (typically asterisk) using specially crafted HTTP strings. Authenticated access to UCP is required. Note that this is often more common for less-privileged users to have UCP access vs. the Administrator Control Panel (ACP) access (which is usually FreePBX higher-level administrator accounts only). Insufficient sanitization of certain URL parameters utilized by UCP did not fully account for malicious strings in these fields. This could result in binaries being executed on the host server by carefully chaining commands. This issue has been patched in versions 16.0.39 and 17.0.7.
Title Authenticated Command Injection in FreePBX UCP Interface
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 6:43 PM
Reserved
Jun 15, 2026, 10:53 PM
Status
Analyzed
Published
Sep 28, 2026, 6:17 PM
Modified
Oct 16, 2026, 6:22 PM