FreePBX UCP
FreePBX UCP: Unauthenticated remote code execution via socket.io namespace auth bypass and AMI action injection
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 17.0.9
Fixed in 17.0.9
Mitigation
Upgrade ucp to 17.0.9 or later.
References
- Vendor advisory github.com/FreePBX/security-reporting/security…
Timeline
Days relative to CVE publicationFirst public PoC 89 days after publication; not in CISA KEV. First PoC: fixedbyreboot/CVE-2026-73665-POC (created 10 Nov 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| fixedbyreboot/CVE-2026-73665-POC | 10 Nov 2026 +89 d | 14 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /socket.io/
- Query
{var}=- Ports
- 8081
- Seen in
- 1 repo: fixedbyreboot/CVE-2026-73665-POC
- Evidence
- fixedbyreboot/CVE-2026-73665-POC/poc.py:59 fixedbyreboot/CVE-2026-73665-POC/poc.py:73
POST /socket.io/
- Query
{var}=- Content-Type
text/plain;charset=UTF-8- Ports
- 8081
- Seen in
- 1 repo: fixedbyreboot/CVE-2026-73665-POC
- Evidence
- fixedbyreboot/CVE-2026-73665-POC/poc.py:49
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/socket\.io/\?(?:.*&)?\{var\}=
(?i)^/socket\.io/\?(?:.*&)?\{var\}=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-73665 FreePBX ucp exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/socket.io/"; http.uri; content:"{var}="; reference:url,poc.griffinguard.io/cve/CVE-2026-73665; classtype:web-application-attack; sid:9442323; rev:1;)
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-73665 FreePBX ucp exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/socket.io/"; http.uri; content:"{var}="; reference:url,poc.griffinguard.io/cve/CVE-2026-73665; classtype:web-application-attack; sid:9079777; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: FreePBX ucp exploit attempt (CVE-2026-73665)
id: gg-pocmon-cve-2026-73665-9442323
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-73665. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-73665
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/socket.io/'
cs-uri-query|contains|all:
- '{var}='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.73665
title: FreePBX ucp exploit attempt (CVE-2026-73665)
id: gg-pocmon-cve-2026-73665-9079777
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-73665. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-73665
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/socket.io/'
cs-uri-query|contains|all:
- '{var}='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.73665