CVE-2026-73665

FreePBX UCP: Unauthenticated remote code execution via socket.io namespace auth bypass and AMI action injection

Published Aug 13, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 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': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Freepbx
Freepbx ucp
Vendors & Products Freepbx
Freepbx ucp
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 18, 2026, 1:41 AM
Reserved
Aug 13, 2026, 2:04 PM
Status
Analyzed
Published
Aug 13, 2026, 10:17 PM
Modified
Oct 9, 2026, 7:29 PM