FreeSWITCH 1.11.2 and earlier let anyone who gets one SIP MESSAGE accepted by the server choose which FreeSWITCH API command runs. Through that API they reach operating system commands, configuration and credentials, and call control. The flaw is CVE-2026-116779, CVSS 3.1 score 9.8, fixed in FreeSWITCH 1.11.3 (SignalWire advisory GHSA-mg63-h38w-8p9p). The advisory says exploitation has been observed in the wild, and CISA added the CVE to its Known Exploited Vulnerabilities catalog on 9 November 2026 with a 12 November deadline for US federal agencies (KEV data feed).
How it works
mod_sofia splits the To user of an inbound SIP MESSAGE on + and treats the left part as a chat protocol name. mod_dptools registers a chat interface called api that passes the address to switch_api_execute(). Nothing restricts the selector, so the sender picks the API command. Where mod_lua is loaded, as in the stock configuration, inline Lua is a second route.
Why the defaults matter
- Chat is on unless a profile sets
enable-chat=false, and stockconf/vanillaleaves it on for both the internal and external profiles. - MESSAGE authentication is on by default from 1.10.7, but any one account on the profile is enough: an extension, a handset or a trunk peer.
- The stock vanilla directory ships two users with no password (
defaultand the Skinny example). They authenticate unlessallow-empty-passwordis set to false. - The inbound ACL does not cover MESSAGE, so tightening it does not take a profile out of scope.
What closes it and what does not
| Measure | Effect, per the advisory |
|---|---|
| Upgrade to 1.11.3 | Fixed. Adds enable-chat-api-proto, off by default |
enable-chat=false on profiles that do not need SIP chat |
Closes the path on those profiles |
auth-messages plus removing passwordless users |
Reduces it to authenticated command execution; does not close it |
disable_system_api_commands=true |
Removes only the system API; module loading and call origination stay reachable |
Checklist
- Find every FreeSWITCH instance, including ones inside PBX or contact-centre products, and check the version:
fs_cli -x "version". - Upgrade to 1.11.3 or later. If FreeSWITCH ships inside a vendor product, ask the vendor which release includes the fix.
- Until then, set
enable-chat=falseon every SIP profile that does not need inbound chat, and reload it. - Remove passwordless directory users and set
allow-empty-passwordto false. - Allow SIP only from your trunk providers and known phones or SBCs.
- Review outbound call records for calls you did not make. CISA's entry asks for forensic triage, so if anything looks wrong, rebuild the host and rotate SIP trunk and extension passwords.
Call control on a PBX is also a toll-fraud risk: an attacker who can place calls through your trunks can run up international charges.
Sources: SignalWire advisory GHSA-mg63-h38w-8p9p, CISA KEV catalog (via the KEV data feed) and NVD.
Originally published on fanpino.com.
Top comments (0)