FreeSWITCH command injection exploited in the wild (CVE-2026-116779) [PoC]
CVE-2026-116779
CVE-2026-116779: FreeSWITCH before 1.11.3 lets an inbound SIP MESSAGE run API commands, enabling remote code execution (CVSS 9.8). Update to 1.11.3 now.
Actively exploited in the wild - CVE-2026-116779 is a critical command injection flaw in FreeSWITCH before 1.11.3 that lets a peer who can send an inbound SIP MESSAGE execute FreeSWITCH API commands, including operating-system command sinks, with the daemon’s privileges. Patched in FreeSWITCH 1.11.3 - update immediately.
Overview
FreeSWITCH is an open-source software-defined telecom stack used to run voice and messaging services on commodity hardware. The flaw lives in sofia_presence_handle_sip_i_message(), which processes inbound SIP MESSAGE requests. The function split the To user portion of the message on a plus sign and treated the left side as a chat protocol selector. When that selector was set to the api chat proto, the input reached switch_api_execute(). A peer whose MESSAGE was accepted could therefore run FreeSWITCH API commands, including sinks that reach the operating system, under the daemon’s privileges.
Inbound chat is enabled on the stock internal and external profiles, so the exposure is broad out of the box. Any authenticated profile account is sufficient to trigger the path. In affected configurations, stock directory users that carry no password material can also remove that barrier, lowering the practical skill required to exploit it.
Impact
Successful exploitation hands the attacker the privileges of the FreeSWITCH process. That means configuration and credential disclosure, arbitrary call control, and command execution on the host. Call control abuse can redirect, record, or drop voice traffic, while credential disclosure can expose SIP accounts, trunks, and upstream provider secrets. Command execution turns a telecom service into a foothold for lateral movement across the network. With a CVSS score of 9.8 and no user interaction required, the severity matches the consequences.
Remediation and Mitigation
Upgrade to FreeSWITCH 1.11.3 or later, which fixes the issue. If you cannot patch immediately, take these steps:
- Restrict who can send SIP MESSAGE to the SOFIA profiles, for example by IP allowlisting your trusted peers at the network edge.
- Disable inbound chat on the internal and external profiles where your deployment does not need it.
- Audit the directory for stock accounts that have no password material and remove or harden them.
- Review FreeSWITCH logs for MESSAGE requests whose To user contains a plus sign followed by
api, and check for unexpected API invocations. - Rotate SIP credentials and any secrets visible to the FreeSWITCH process if you suspect prior compromise.
Security Insight
This bug is a parser confusion that escalates into an execution primitive: a delimiter meant to select a chat protocol instead ends up selecting the API surface. It echoes a recurring pattern in telecom software, where text-based protocol handling and powerful management interfaces sit close together, so a small parsing assumption becomes remote code execution. The fact that stock profiles ship with inbound chat enabled widens the blast radius well beyond tuned deployments, and the presence of this CVE on CISA KEV signals that attackers already map these softswitches as high-value targets. Operators should treat management interfaces on telecom stacks as internet-facing attack surface, not internal plumbing.
For related incident tracking, see breach reports and security news.
Further Reading
Never miss a critical vulnerability
Get real-time security alerts delivered to your preferred platform.
Public PoC References
Unverified third-party code
These repositories are publicly listed on GitHub and have not been audited by Yazoul Security. They may contain malware, backdoors, destructive payloads, or operational security risks (telemetry, exfiltration). Treat them as hostile binaries. Inspect source before execution. Run only in isolated, disposable lab environments (offline VM, no credentials, no production data).
Authorized use only. This information is provided for defensive research, detection engineering, and patch validation. Using exploit code against systems you do not own or do not have explicit written permission to test is illegal in most jurisdictions and violates Yazoul's terms of use.
| Repository | Stars |
|---|---|
| hackzuoji/freeswitch-cve-2026-116779-POC | ★ 2 |
| majidrahimi5020-lgtm/Poc-exploit-for-CVE-2026-116779-FreeSWITCH- 🚨 CVE ID: CVE-2026-116779 📦 Product: FreeSWITCH 💉 Type: Command Injection (via SIP MESSAGE) 🔥 Score: 9.8 (Critical(RCE)) +20K target | ★ 1 |
Showing 2 of 2 known references. Source: nomi-sec/PoC-in-GitHub.
Related Advisories
A flaw has been found in Ahsay AhsayCBS up to 10.3.2. This vulnerability affects unknown code of the file /rps/api/json/UpdateReceivers.do of the component Replication Receiver. Executing a manipulati...
OS Command Injection Remote Code Execution Vulnerability in API in Progress ADC Products allows an un-authenticated attacker to execute arbitrary commands on the LoadMaster appliance by exploiting uns...
PraisonAI is a multi-agent teams system. Prior to version 4.6.9, the fix for PraisonAI's MCP command handling does not add a command allowlist or argument validation to parse_mcp_command(), allowing a...
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to version 3.3.8, a command injection vulnerability exists in github.com/elcterm/electerm/npm/install.js...