CVE-2026-116786

FreeSWITCH: Channel-variable injection via SIP REFER leads to command execution in mod_sofia

Published Nov 5, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. Prior to 1.11.2, sofia_handle_sip_i_refer() placed raw Refer-To URI parameters and headers inside a sip_invite_params channel-variable block passed to switch_ivr_originate(). The originate parser treated a comma in the attacker-controlled value as a variable separator, allowing an authenticated caller on a bridged call to inject arbitrary variables into a newly originated leg. An injected execute_on_originate value could invoke the system dialplan application before answer and execute operating-system commands with the FreeSWITCH process privileges. SIP REFER is enabled by default, and the sender needs only a registered account and a call that takes the off-box transfer path, not administrative or Event Socket access. This issue is fixed in version 1.11.2.

Analysis

AI-generated

Technical impact

An authenticated caller who can initiate or bridge a SIP dialog can craft a REFER request whose Refer-To URI contains controlled parameters. These parameters are inserted unsanitized into a channel-variable block sent to switch_ivr_originate(). The originate parser treats commas as variable separators, enabling injection of arbitrary variables such as execute_on_originate. The injected value can trigger the FreeSWITCH process to execute an operating‑system command before the call answers, effectively granting the attacker remote code execution while running under FreeSWITCH privileges.

Affected Systems

SignalWire FreeSWITCH software, any deployment running a version earlier than 1.11.2 is affected. Versions 1.11.2 and later contain the fix.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as high severity. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a SIP REFER request sent by a registered account; no administrative or Event Socket access is required. An attacker can gain the capability to run arbitrary system commands on the FreeSWITCH host by sending a crafted REFER from within a bridged call.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update FreeSWITCH to version 1.11.2 or later to apply the vendor‑supplied fix.
  • If an immediate upgrade is not possible, disable the SIP REFER feature or the off‑box transfer path to block the exploitation surface.
  • Restrict the use of REFER on a per‑user or per‑domain basis by enforcing stricter access control or ACLs, ensuring that only trusted accounts can initiate such transfers.

Generated by OpenCVE AI on November 5, 2026 at 20:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Freeswitch
Freeswitch freeswitch
CPEs cpe:2.3:a:freeswitch:freeswitch:*:*:*:*:*:*:*:*
Vendors & Products Freeswitch
Freeswitch freeswitch
Type Values Removed Values Added
First Time appeared Signalwire
Signalwire freeswitch
Vendors & Products Signalwire
Signalwire freeswitch
Type Values Removed Values Added
Description FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. Prior to 1.11.2, sofia_handle_sip_i_refer() placed raw Refer-To URI parameters and headers inside a sip_invite_params channel-variable block passed to switch_ivr_originate(). The originate parser treated a comma in the attacker-controlled value as a variable separator, allowing an authenticated caller on a bridged call to inject arbitrary variables into a newly originated leg. An injected execute_on_originate value could invoke the system dialplan application before answer and execute operating-system commands with the FreeSWITCH process privileges. SIP REFER is enabled by default, and the sender needs only a registered account and a call that takes the off-box transfer path, not administrative or Event Socket access. This issue is fixed in version 1.11.2.
Title FreeSWITCH: Channel-variable injection via SIP REFER leads to command execution in mod_sofia
Weaknesses CWE-77
CWE-94
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 6:04 PM
Reserved
Oct 26, 2026, 9:53 PM
Status
Analyzed
Published
Nov 5, 2026, 8:17 PM
Modified
Nov 10, 2026, 6:56 PM