Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach UCP Node ports 8001/8003
-
DeliveryConnect to unauthenticated custom Socket.IO namespace
-
ExploitInject CR/LF into AMI event value
-
ExecutionSmuggle extra Asterisk Manager action
-
ImpactExecute arbitrary commands as asterisk user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the FreePBX UCP Node server on TCP ports 8001 or 8003 and a FreePBX version prior to 17.0.9; the attacker connects to a Socket.IO custom namespace (not the default namespace) where checkAuth is not consistently invoked, then supplies event values containing CR/LF characters routed through the AMI action path in asterisk-manager-patch.js. No authentication is required (PR:N) and no user interaction is needed (UI:N). The primary limiting factor is exposure of ports 8001/8003: deployments that firewall these ports to trusted networks, or that do not run the UCP Node server, are not remotely reachable and are effectively protected regardless of version. |
| Impact | This is a genuine high-priority issue rather than a paper-high score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, base 9.3) indicates network-reachable, low-complexity, unauthenticated exploitation with full confidentiality, integrity, and availability impact on the vulnerable system, which is consistent with the description of an unauthenticated client bypassing auth on custom namespaces. No EPSS score, SSVC decision, or KEV entry was provided, and no POC is referenced, so real-world exploitation cannot be confirmed and appears not yet widespread. The main uncertainty is exposure: ports 8001/8003 must be reachable by the attacker, so risk is highest where the UCP Node server is exposed to untrusted networks and lower where it sits behind a firewall or VPN. Missing signals (EPSS, SSVC, POC status) should be treated as unknown, not as evidence of low risk. |
| Exploit ScenarioDerived | An attacker who can reach ports 8001 or 8003 opens a Socket.IO connection to a custom namespace that skips checkAuth, bypassing authentication entirely. They then send a crafted event whose value embeds carriage-return/newline characters, injecting an extra Asterisk Manager Interface action that runs shell commands as the asterisk user. No public POC is referenced, but the low attack complexity and lack of required authentication or user interaction make weaponization straightforward for a capable attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
Command injection in FreePBX UCP Node server before 17.0.9 allows unauthenticated remote attackers to run arbitrary OS commands as the asterisk service user. The Socket.IO 4 middleware (io.use(checkAuth)) only guards the default namespace, so a client can reach unprotected custom namespaces and inject carriage-return/newline characters into Asterisk Manager Interface actions to execute commands. This is an authentication-bypass-plus-CRLF-injection chain; no public exploit has been identified at time of analysis, and it is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade FreePBX to version 17.0.9, which fixes the namespace authorization gap and the AMI CRLF handling. Until the upgrade can be applied, restrict network access to the UCP Node server on TCP ports 8001 and 8003 so they are reachable only from trusted management networks or over VPN rather than the public internet, and place the UCP behind a reverse proxy or firewall ACL; the trade-off is that legitimate remote UCP/websocket users on those ports will lose direct access and must connect through the permitted path. Where the UCP real-time features are not needed, disabling or not exposing the UCP Node service removes the attack surface at the cost of losing UCP live-update functionality. Refer to the advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-37j8-fhxx-9vhp for authoritative guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreePBX is a web-based management layer over the Asterisk telephony engine. The affected component is the User Control Panel (UCP) Node.js server, which exposes Socket.IO real-time endpoints on TCP ports 8001 and 8003. Socket.IO version 4 changed middleware semantics so that io.use() only applies to the default (root) namespace; custom namespaces defined in node/lib/server.js do not inherit that middleware and node/lib/auth.js does not consistently re-invoke checkAuth for them. The root cause maps to CWE-862 (Missing Authorization): a privileged code path is reachable without an authorization check. The bypass is then chained to a CRLF/command-injection weakness in the AMI action path handled by node/lib/asterisk-manager-patch.js, where unsanitized newline characters in event values let an attacker inject additional Manager Interface actions, ultimately executing OS commands as the asterisk user.
Know when Freepbx gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated network access to exposed Node ports with no user interaction gives PR:N/UI:N/AV:N/AC:L; command execution as the asterisk user yields full C/I/A impact, scope unchanged.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
FreePBX UCP Node server versions before 17.0.9 contain an unauthenticated command injection vulnerability that allows attackers to execute arbitrary OS commands with the privileges of the Asterisk service user. This threatens voice communications infrastructure and could lead to system compromise, eavesdropping, or service disruption for any organization relying on FreePBX for telephony.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
FreePBX 15, 16, and 17 contain SQL injection vulnerabilities enabling unauthenticated access to the administrator interf
The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attacke
admin/libraries/view.functions.php in FreePBX 2.9 before 2.9.0.14, 2.10 before 2.10.1.15, 2.11 before 2.11.0.23, and 12
htdocs_ari/includes/login.php in the ARI Framework module/Asterisk Recording Interface (ARI) in FreePBX before 2.9.0.9,
Authenticated arbitrary file upload in the FreePBX Endpoint Manager module (FreePBX 16 before 16.0.92 and FreePBX 17 bef
Authenticated SQL injection in the FreePBX Endpoint Manager module allows a user holding a valid, known FreePBX username
Authentication bypass in the FreePBX Endpoint Manager module lets remote, unauthenticated attackers impersonate any targ
Sangoma FreePBX 115.0.16.26 and below, 14.0.13.11 and below, 13.0.197.13 and below have Incorrect Access Control. Rated
Sangoma Technologies FreePBX before cdr 15.0.18, 16.0.40, 15.0.16, and 16.0.17 was discovered to contain an access contr
FreePBX 10.13.66-32bit and 14.0.1.24 (SNG7-PBX-64bit-1712-2) allow post-authentication SQL injection via the order param
Multiple cross-site scripting (XSS) vulnerabilities in FreePBX 2.9 and earlier allow remote attackers to inject arbitrar
An issue was discovered in Manager 13.x before 13.0.2.6 and 15.x before 15.0.6 before FreePBX 14.0.10.3. Rated medium se
EUVD-2026-58541
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB