---
title: "FreeSWITCH Command Injection (CVE-2026-116779)"
canonical: https://trickest.com/library/freeswitch-command-injection-check-cve-2026-116779
description: "Point hosts at FreeSWITCH SIP ports and flag CVE-2026-116779 by banner version, with an optional credential-gated selector probe. CISA KEV listed."
---

# FreeSWITCH Command Injection (CVE-2026-116779)

## Overview

This workflow finds FreeSWITCH servers exposed to CVE-2026-116779, the command injection CISA listed on KEV while exploitation was already active. A single inbound SIP MESSAGE can select the `api` chat protocol and hand the message to the FreeSWITCH command interpreter, which reaches OS command execution, configuration reads and full call control on a stock install. CISA scored it 9.8, federal remediation windows have already closed, and EPSS puts it in the top one percent of all CVEs. Give the workflow hostnames or URLs and it sends one SIP OPTIONS per host across UDP 5060, TCP 5060, and TLS 5061, reads the FreeSWITCH version from the reply banner, and sorts each host against the 1.11.3 fix floor. Every host comes back with a verdict that feeds [exposure management](/use-cases/exposure-management).

If you hold credentials for an asset, the workflow can add one differential MESSAGE pair that shows whether the chat selector is still gated. The probe names a deliberately nonexistent command, so nothing executes even on a vulnerable host.

## Pipeline

1. Read the target list and send one unauthenticated SIP OPTIONS per host, trying UDP 5060, then TCP 5060, then TLS 5061, and stop at the first reply.
2. Parse the FreeSWITCH version from the reply banner and classify it: below 1.11.3 is affected, at or above is patched, and a bare banner with no version stays inconclusive.
3. When a credentials file is bound, send one authenticated MESSAGE pair per host: probe A carries the `api` selector with a deliberately nonexistent command name, probe B carries no selector, and only the asymmetric answer scores a verdict.
4. Reconcile one verdict per target, map affected to CRITICAL severity, and flag affected hosts as requiring forensic triage rather than further probing.
5. Emit findings.jsonl rows per probe and a summary line with verdict counts and the triage list.

## Inputs

- **Target list.** Hostnames or URLs of FreeSWITCH servers you are authorized to test. The default file ships a sample fleet list; bind your own.
- **Credentials file.** Optional. SIP digest credentials for assets you own, which enable the tier-two MESSAGE pair. Without it the run stays at the banner check.

## Outputs

- **findings.jsonl.** One row per probe: target, transport, version, verdict, tier used, whether credentials were involved, severity keyed to the verdict, and the forensic triage flag.
- **summary.jsonl.** One line with verdict counts, the sorted target lists per verdict including affected targets requiring triage, and a coverage note.

## Integrations

- SIP over UDP, TCP, and TLS. One OPTIONS per host, plus at most one MESSAGE pair where credentials were supplied. TLS certificate validation is off so self-signed installs still answer.

## Sample output

The records below are illustrative and do not come from a real run. They show a host below the fix floor, a patched host, and a host whose banner carried no version.

```jsonl
{"target": "pbx-a.example.com", "transport": "udp", "port": 5060, "is_freeswitch": true, "version": "1.10.12", "verdict": "affected", "detail": "below_1.11.3_floor", "tier": 1, "credentials_used": false, "forensic_triage": true, "error": null}
{"target": "pbx-b.example.org", "transport": "tcp", "port": 5060, "is_freeswitch": true, "version": "1.11.4", "verdict": "patched", "detail": "at_or_above_1.11.3_floor", "tier": 1, "credentials_used": false, "forensic_triage": false, "error": null}
{"target": "pbx-c.example.net", "transport": "udp", "port": 5060, "is_freeswitch": true, "version": null, "verdict": "inconclusive", "detail": "banner_no_version", "tier": 1, "credentials_used": false, "forensic_triage": false, "error": null}
```

```json
{"cve": "CVE-2026-116779", "total_targets": 3, "verdict_counts": {"affected": 1, "patched": 1, "inconclusive": 1}, "affected_targets": ["pbx-a.example.com"], "patched_targets": ["pbx-b.example.org"], "inconclusive_targets": ["pbx-c.example.net"], "error_targets": [], "not_product_targets": [], "forensic_triage_required": ["pbx-a.example.com"]}
```

## FAQ

### Which FreeSWITCH versions does this flag?

Everything before 1.11.3, the release that added the default-off `enable-chat-api-proto` gate. 1.11.4 is the current release. An operator who explicitly re-enables the chat proto on a patched build reopens the route, and that setting is not visible remotely.

### Does the optional probe run a real API command?

No. Probe A carries the `api` selector followed by a deliberately nonexistent command name, so a vulnerable host dispatches an unknown command lookup that executes nothing. The workflow never sends `system`, `bgapi`, `originate`, `lua`, or any real command name after the selector.

### What does an affected verdict mean here?

It means the banner shows a build below the fix floor while exploitation is active and KEV remediation windows have closed. Treat the host as potentially already compromised and triage it, because the first-order impact is configuration and credential disclosure.

### Is this check safe on production telephony?

Yes. Tier one is one OPTIONS ping per host. Tier two is at most one MESSAGE pair per host, jittered, with no REGISTER attempts, no password guessing, and no oversized bodies. A host scored affected is marked for triage, not probed further.

### What is CVE-2026-116779?

Command injection in FreeSWITCH chat dispatch: an inbound SIP MESSAGE whose To header selects the `api` chat protocol is handed to the FreeSWITCH command interpreter. CISA listed it on KEV in November 2026.

## Related workflows

- [UnrealIRCd Label Injection (CVE-2026-114713)](/library/unrealircd-label-injection-check-cve-2026-114713). Reach for it when the next text-protocol daemon is an IRC server, not a PBX.
- [PHP CGI RCE (CVE-2024-4577)](/library/php-cgi-rce-check-cve-2024-4577). Reach for it when the confirm step must stay read-only and version is the only safe signal.
- [TeamCity Auth Bypass (CVE-2024-27198)](/library/teamcity-auth-bypass-check-cve-2024-27198). Reach for it when the next critical flag is a CI server instead of a telecom edge.

---
_Markdown source of https://trickest.com/library/freeswitch-command-injection-check-cve-2026-116779._
