Description
FreePBX is an open source IP PBX. Prior to 17.0.9, the UCP Node server on ports 8001 and 8003 uses io.use(checkAuth) in node/lib/server.js, but Socket.IO version 4 applies that middleware only to the default namespace. An unauthenticated client can connect to custom namespaces that do not consistently invoke checkAuth in node/lib/auth.js and send crafted event values containing carriage-return or newline characters through the Asterisk Manager Interface action path patched by node/lib/asterisk-manager-patch.js, allowing arbitrary commands to execute as the asterisk service user. This issue is fixed in version 17.0.9.
Published: 2026-08-13
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FreePBX’s UCP Node server relied on socket.io middleware that was only applied to the default namespace, leaving non‑default namespaces vulnerable. An unauthenticated client could connect to these custom namespaces and send crafted event values that included carriage‑return or newline characters. Through the Asterisk Manager Interface action path patched by node/lib/asterisk-manager-patch.js, the attacker could inject arbitrary commands, causing them to execute as the asterisk service user. The result is full remote code execution on the host running the service.

Affected Systems

The vulnerability affects FreePBX UCP deployments that run versions earlier than 17.0.9 on ports 8001 or 8003. The UCP Node instance is part of the FreePBX open‑source IP PBX stack.

Risk and Exploitability

The CVSS score of 9.3 categorises this flaw as critical, and while the EPSS score is not available, the lack of a KEV listing does not diminish the immediately exploitable nature of the flaw. An attacker needs only network reach to the exposed UCP ports to establish a connection to a custom namespace and supply malicious event data. Because the asterisk user typically has broad privileges over the Asterisk platform, successful exploitation can lead to privilege escalation, full system compromise, and persistence.

Generated by OpenCVE AI on August 14, 2026 at 00:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FreePBX UCP to version 17.0.9 or later to apply the middleware patch and the Asterisk Manager Interface fix.
  • Restrict access to ports 8001 and 8003 by firewalling or by limiting connections to trusted internal networks, and if possible disable or tightly control the use of custom namespaces in the Socket.IO configuration.
  • Review the asterisk service account’s permissions, ensuring it follows the principle of least privilege, and consider moving it to a dedicated, minimally privileged user if feasible.

Generated by OpenCVE AI on August 14, 2026 at 00:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
Description FreePBX is an open source IP PBX. Prior to 17.0.9, the UCP Node server on ports 8001 and 8003 uses io.use(checkAuth) in node/lib/server.js, but Socket.IO version 4 applies that middleware only to the default namespace. An unauthenticated client can connect to custom namespaces that do not consistently invoke checkAuth in node/lib/auth.js and send crafted event values containing carriage-return or newline characters through the Asterisk Manager Interface action path patched by node/lib/asterisk-manager-patch.js, allowing arbitrary commands to execute as the asterisk service user. This issue is fixed in version 17.0.9.
Title FreePBX UCP: Unauthenticated remote code execution via socket.io namespace auth bypass and AMI action injection
Weaknesses CWE-862
References
Metrics cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T21:32:02.059Z

Reserved: 2026-08-13T14:04:09.606Z

Link: CVE-2026-73665

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T22:17:28.227

Modified: 2026-08-13T22:17:28.227

Link: CVE-2026-73665

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T00:45:17Z

Weaknesses