Vulnerability DatabaseCVE-2026-116779

CVE-2026-116779: 
FreeSWITCH vulnerability analysis and mitigation

Overview

CVE-2026-116779 is a critical command injection vulnerability in FreeSWITCH (SignalWire) that allows an attacker to execute arbitrary FreeSWITCH API commands — including OS-level commands — by sending a crafted inbound SIP MESSAGE. The flaw exists in all FreeSWITCH versions prior to 1.11.3 and was published on November 5, 2026. It carries a CVSS v3.1 base score of 9.8 (Critical) (GitHub Advisory, CISA KEV). Exploitation has been confirmed in the wild and the vulnerability was added to CISA's Known Exploited Vulnerabilities catalog on November 9, 2026 (CISA KEV).

Technical details

The root cause lies in sofia_presence_handle_sip_i_message() within mod_sofia, which splits the To header user-part of an inbound SIP MESSAGE on a + character and treats the left portion as a chat protocol selector (CWE-77, CWE-78, CWE-749). When the selector is api, the function dispatches the remainder of the user-part to switch_api_execute(), which can invoke any registered FreeSWITCH API command — including the system sink that executes arbitrary OS commands with the daemon's privileges (GitHub Advisory). Inbound chat is enabled by default on both the stock internal and external SIP profiles; any authenticated profile account is sufficient to trigger the flaw, and stock conf/vanilla/directory/default/default.xml ships a directory user with no password or a1-hash, effectively allowing unauthenticated exploitation in default configurations (GitHub Advisory). Where mod_lua is loaded (as in stock configuration), inline Lua with the full standard library is reachable as a second command-execution sink. Public PoC toolkits (Python) implementing the full exploit flow — including reverse shell modes — are available on GitHub (Feedly).

Impact

Successful exploitation grants an attacker arbitrary OS command execution with the privileges of the FreeSWITCH daemon process, enabling full system compromise. Concrete consequences include disclosure of FreeSWITCH configuration files and credentials, arbitrary call control (originating, terminating, or intercepting calls), and remote code execution that can serve as a foothold for lateral movement within the network (GitHub Advisory, CISA KEV). Confidentiality, integrity, and availability are all rated HIGH, and the NVD assessment classifies the technical impact as total (Feedly).

Exploitability

CVE-2026-116779 is actively exploited in the wild and was added to CISA's Known Exploited Vulnerabilities catalog on November 9, 2026, with a remediation due date of November 12, 2026 (CISA KEV). Multiple public PoC exploit tools exist on GitHub, including a complete Python toolkit (fscve) with detect, shell, and reverse-shell modes, and a standalone poc.py that returns command output over SIP — both assessed as real, functional exploits (Feedly). The vulnerability is rated automatable by NVD (no user interaction, no privileges required in default configurations), and a Nuclei detection template has been published (Feedly). The EPSS score is approximately 1.3%, though active exploitation and CISA KEV listing indicate real-world risk significantly exceeds this estimate. No specific threat actor attribution has been publicly reported.

Exploitation steps

  1. Reconnaissance: Identify internet-facing FreeSWITCH instances (versions < 1.11.3) using Shodan, Censys, or active SIP OPTIONS probes targeting UDP/TCP port 5060. Send a SIP OPTIONS request to read the User-Agent/Server banner confirming FreeSWITCH and its version.
  2. Credential acquisition (if needed): In stock configurations, the default directory user (default with no password) can be used directly. Otherwise, obtain any valid SIP account credential for the target profile.
  3. SIP REGISTER: Register as the directory user via SIP REGISTER to the target's SIP domain, responding to any Digest authentication challenge with the known or empty credentials.
  4. Craft malicious SIP MESSAGE: Construct a SIP MESSAGE request where the To header user-part is api+<command>, with the command percent-encoded. For OS command execution, use api+system%20<os_command> (e.g., To: <sip:api+system%20id@target>).
  5. Send the MESSAGE: Transmit the crafted SIP MESSAGE to the target's SIP listener (UDP or TCP, port 5060 by default) with Digest authentication if required.
  6. Receive output: The vulnerable sofia_presence_handle_sip_i_message() splits the To user on +, selects the api chat proto, and passes the remainder to switch_api_execute(), which runs the OS command. Output is returned to the attacker in a SIP MESSAGE response.
  7. Escalate: Use the system API sink to establish a reverse shell, exfiltrate credentials from FreeSWITCH configuration files, or pivot to other internal systems using the daemon's network access and privileges (GitHub Advisory, Feedly).

Indicators of compromise

  • Network: Inbound SIP MESSAGE requests where the To header user-part contains api+ followed by a percent-encoded string; SIP responses (200 OK or MESSAGE) from the FreeSWITCH server carrying unexpected command output in the body; outbound connections from the FreeSWITCH host to unknown external IPs (reverse shell activity).
  • Logs: FreeSWITCH log entries (e.g., freeswitch.log) containing WARNING messages referencing rejected a MESSAGE from ... addressed to the 'api' chat proto (post-patch) or, on unpatched systems, API execution log entries triggered by inbound MESSAGE; SIP access logs showing MESSAGE requests with encoded api+ To user-parts from unexpected source IPs.
  • File System: Unexpected files written to /tmp/ (e.g., marker files such as /tmp/cve-2026-116779-*.txt created by PoC tools); new cron jobs, scripts, or binaries created by the FreeSWITCH service account; modified FreeSWITCH configuration files (e.g., directory/default/default.xml).
  • Process: Unusual child processes spawned by the FreeSWITCH process (e.g., /bin/sh, bash, curl, wget, python3, nc) visible in process trees; unexpected network listeners bound by the FreeSWITCH user account.
  • Authentication: SIP REGISTER events from unknown or unexpected source IPs using the default user or other low-privilege accounts, followed immediately by SIP MESSAGE activity (GitHub Advisory, Feedly).

Mitigation and workarounds

Primary remediation: Upgrade FreeSWITCH to version 1.11.3 or later, which introduces a new per-profile parameter enable-chat-api-proto that gates access to the api chat proto; the parameter defaults to disabled, blocking the vulnerable route on all profiles (FreeSWITCH v1.11.3, Patch PR).

Workarounds (if immediate upgrade is not possible):

  • Set enable-chat=false on every SIP profile that does not require inbound SIP chat — this stops the MESSAGE before the proto selector is parsed.
  • Remove all directory users with no password or a1-hash (stock conf/vanilla ships default and a Skinny example user with no credentials); set allow-empty-password=false.
  • Set disable_system_api_commands=true to remove the system OS sink (does not fully close the path but limits OS command execution).
  • Implement network-level ACLs to restrict SIP MESSAGE traffic to trusted endpoints only.

Note: auth-messages alone is insufficient — it reduces the attack to authenticated command execution but does not close the route (GitHub Advisory).

Community reactions

CISA issued an alert on November 9, 2026 adding CVE-2026-116779 to the KEV catalog alongside three other actively exploited vulnerabilities, with a tight three-day remediation deadline (CISA KEV). SecurityWeek reported on the active exploitation of FreeSWITCH alongside IBM Aspera Faspex vulnerabilities (SecurityWeek). The Hacker News covered CISA's warning of active exploitation (The Hacker News). Security researchers and community members on Infosec.Exchange and Mastodon widely shared the KEV addition and PoC availability, with multiple accounts flagging the default-on attack surface as particularly dangerous. Ostorlab published a technical blog post analyzing the SIP MESSAGE RCE path (Ostorlab Blog). The NixOS security tracker and multiple downstream projects opened issues to track patching of the dependency (Patch PR).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

v3.22

freeswitch: 1.10.12-r4

Fixed

v3.23

freeswitch: 1.10.12-r7

Fixed

Source: This report was generated using AI

Related FreeSWITCH vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-119293CRITICAL9.3
  • FreeSWITCH logoFreeSWITCH
  • cpe:2.3:a:freeswitch:freeswitch
NoYesNov 17, 2026
CVE-2026-116790CRITICAL9.1
  • FreeSWITCH logoFreeSWITCH
  • freeswitch
NoYesNov 05, 2026
CVE-2026-119292HIGH8.7
  • FreeSWITCH logoFreeSWITCH
  • cpe:2.3:a:freeswitch:freeswitch
NoYesNov 17, 2026
CVE-2026-116788HIGH8.2
  • FreeSWITCH logoFreeSWITCH
  • cpe:2.3:a:freeswitch:freeswitch
NoYesNov 05, 2026
CVE-2026-116789HIGH7.4
  • FreeSWITCH logoFreeSWITCH
  • cpe:2.3:a:freeswitch:freeswitch
NoYesNov 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management