{"id":"CVE-2026-116786","summary":"FreeSWITCH: Channel-variable injection via SIP REFER leads to command execution in mod_sofia","details":"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.","aliases":["GHSA-xjxm-9qx6-w3fj"],"modified":"2026-11-12T07:04:11.920788160Z","published":"2026-11-05T19:25:23.486Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-77","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116786.json"},"references":[{"type":"WEB","url":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116786.json"},{"type":"ADVISORY","url":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-xjxm-9qx6-w3fj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116786"},{"type":"FIX","url":"https://github.com/signalwire/freeswitch/commit/fbac12b451a146fdac5104d25d337145be989e84"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/signalwire/freeswitch","events":[{"introduced":"0"},{"fixed":"3f13ad1b1d323e435757fc43a2bb829d4ea5b9a8"},{"fixed":"fbac12b451a146fdac5104d25d337145be989e84"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.11.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:freeswitch:freeswitch:*:*:*:*:*:*:*:*"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"fbac12b451a146fdac5104d25d337145be989e84"}]},{"range":[{"fixed":"3f13ad1b1d323e435757fc43a2bb829d4ea5b9a8"}],"source":"REFERENCES_TAG","original_tag":"v1.11.2"}]}}],"versions":["v1.11.1","v1.11.0","v1.10.12","v1.10.11","v1.10.10","v1.10.9","v1.10.8","v1.10.7","v1.10.6","v1.10.5","v1.10.4","v1.10.3","v1.10.2","v1.10.1","v1.10.0","v1.6.0","v1.5.final","v1.5.14","v1.5.13","v1.5.12","v1.5.10","v.15.9","v1.5.8","v1.5.5","v1.5.2","v1.5.1","v1.5.0","v1.3.17-final","v1.3.16","v1.3.15","v1.3.14","v1.3.13","v1.3.12","v.1.3.12","v0.0.1","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2-rc2","v1.2-rc1","git2svn-syncpoint-master"],"database_specific":{"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/signalwire/freeswitch/commit/fbac12b451a146fdac5104d25d337145be989e84","target":{"file":"src/mod/endpoints/mod_sofia/sofia.c"},"deprecated":false,"digest":{"line_hashes":["53394496770025808563827866054610877222","228503608195287403139943723866631187377","281766965217566253200557399962615436594","98210230080229616186628504438766226623","128952491912234361914127497545205076984","286632147037136099051584450873239723151","259076762500007861719403904338044366960","34105241289257885409993578214971586950","57029739178568894425950739143505638236","246121933880578419828134840595175190538","284132903444413077511657723496850977239","331205737181636680761905216960962086957","58217100996429284586003236879248534752","242723323760246288084975125698415930150","18238041005475388440808779881888502727","167047986821457354465141251306734265404","17238585162649712778577217203436604017","249876920670369040753450261503709412827","87895450235946304207516972126462494596","241602451420732330712364764682108179194","106467995329295063579388809329049078824","204142988798197831043398537242764800637","209308876706826678468648273462166590359","32666662850169722586183877464431141884","48951439825815668637345767719894165167","333267892293603895123351105018608922797","198620905667883794720097728787950359842","257626532782209495928331248431573954082","119241293416193697564254183705242801637"],"threshold":0.9},"id":"CVE-2026-116786-1c80d72b"},{"id":"CVE-2026-116786-55caf9c9","signature_type":"Function","signature_version":"v1","source":"https://github.com/signalwire/freeswitch/commit/fbac12b451a146fdac5104d25d337145be989e84","target":{"function":"nightmare_xfer_thread_run","file":"src/mod/endpoints/mod_sofia/sofia.c"},"deprecated":false,"digest":{"function_hash":"254158499515173258703458021666762857564","length":1870}},{"source":"https://github.com/signalwire/freeswitch/commit/fbac12b451a146fdac5104d25d337145be989e84","target":{"file":"src/mod/endpoints/mod_sofia/sofia.c","function":"sofia_handle_sip_i_refer"},"deprecated":false,"digest":{"function_hash":"99037401992364965849758653899104383717","length":23347},"id":"CVE-2026-116786-8a3a338d","signature_type":"Function","signature_version":"v1"}],"vanir_signatures_modified":"2026-11-12T07:04:11Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116786.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}