A FILE of target hosts or URLs, one per line. Comments and blank lines are stripped. The workflow fails closed when the input is missing or empty — it never falls back to a placeholder list.
Results
One findings row per target (verdict affected / patched / inconclusive / error / not_product, tier, version, probe statuses) plus a summary file with counts and coverage. Affected hosts are flagged for forensic triage (CISA KEV, BOD 26-04) — assume possible prior compromise, do not probe further. Inconclusive and error rows are never clean.
SIP Probe — how it works
Tier 1 (default, safe): one SIP OPTIONS per host, sequential fallback UDP 5060 -> TCP 5060 -> TLS 5061, stopping at the first reply. The FreeSWITCH version from User-Agent/Server is compared to the 1.11.3 floor: below = affected, at or above = patched, bare FreeSWITCH banner with no version = inconclusive, other banners = not_product.
Tier 2 (only when a credentials file is bound, lines: host user password, one per profile): one differential MESSAGE pair with DIGEST auth. Probe A targets sip:api+zzxq-nonexistent-cmd-probe@host — a deliberately nonexistent command, never a real one, so nothing executes. Probe B is the same MESSAGE without the api selector. Patched = A returns 403 while B does not; affected signal = A accepted (2xx); both 403 = inconclusive ACL block; 401/407 = inconclusive. One OPTIONS plus at most one probe pair per host, jittered timing, no REGISTER attempts, no To-header fuzzing.
FreeSWITCH Chat API Command Injection Check — CVE-2026-116779
Finds FreeSWITCH SIP endpoints and scores CVE-2026-116779 (inbound SIP MESSAGE can select the api chat proto and run FreeSWITCH API commands, CVSS 9.8, CISA KEV, EPSS 43.7%). Tier 1 is an unauthenticated SIP OPTIONS banner read compared against the 1.11.3 fix floor. Tier 2, only where the operator supplies credentials, sends one differential MESSAGE pair with a nonexistent sentinel command — nothing ever executes. Fail closed: unreachable hosts, timeouts, and unparseable banners are never scored clean. GHSA-mg63-h38w-8p9p
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.
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
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.
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.
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.
Reconcile one verdict per target, map affected to CRITICAL severity, and flag affected hosts as requiring forensic triage rather than further probing.
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.
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.