SignalWire FreeSWITCH < 1.11.3 - SIP MESSAGE api-proto OS Command Injection
SignalWire FreeSWITCH before 1.11.3 is vulnerable to OS command injection via an inbound SIP MESSAGE (CVE-2026-116779). sofia_presence_handle_sip_i_message splits the recipient user on '+' and treats the left side as a chat protocol selector; selecting the built-in "api" chat interface passes the remainder to switch_api_execute(), so a recipient of the form api+system runs as an OS command with the FreeSWITCH process privileges (typically root). The chat path requires the inbound MESSAGE to authenticate, but FreeSWITCH ships well-known default credentials (extension 1000 / password 1234 on stock vanilla) and empty-password users. This template authenticates with those defaults over SIP digest, injects api+system ping (firing an out-of-band callback for real RCE evidence), and keys on the in-band differential: a vulnerable server accepts the api-proto MESSAGE (202 Accepted) and executes it, whereas 1.11.3+ disables the api chat proto by default and returns 403. References: https://github.com/signalwire/freeswitch/security/advisories/GHSA-mg63-h38w-8p9p https://nvd.nist.gov/vuln/detail/CVE-2026-116779 https://blog.ostorlab.co/freeswitch-sip-message-rce-cve-2026-116779.html Remediation: Upgrade to FreeSWITCH 1.11.3 or later (it adds enable-chat-api-proto, off by default). If you cannot upgrade, set enable-chat=false on profiles that do not need chat, change the default 1000/1234 credentials, remove empty-password users and set allow-empty-password=false, do not run FreeSWITCH as root, and restrict SIP (5060/5061) exposure.
9 assets checked · domain, subdomain, ipv4