CVE-2026-9586
Sangoma Switchvox SQL Injection Vulnerability
Description
CVE-2026-9586 is a critical unauthenticated SQL injection vulnerability in Sangoma Switchvox SMB Edition, the IP PBX platform used for business telephony. The /pa endpoint processes XML content beginning with <PolycomIPPhone> and directly concatenates the user-controlled PhoneIP value into PostgreSQL queries without sanitisation or parameterisation, so an unauthenticated remote attacker can execute arbitrary SQL statements against the backend database with a single crafted request — including database operations and remote code execution. Switchvox versions from 8.2.2.1 up to 8.4.0.2 are affected, with the fix in release 8.4.0.2. Because a PBX holds call records, voicemail and SIP credentials, this SQL injection vulnerability exposes an organisation's entire telephony infrastructure; CVE-2026-9586 carries a CVSS score of 9.8, an EPSS score of roughly 12% at the 96th percentile, and is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
KEV Information
CVSS Score
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CalculatorAffected Products
| Vendor | Product | Version |
|---|---|---|
| sangoma | switchvox | >= 8.2.2.1, < 8.4.0.2 |
References
- https://labs.sra.io/posts/switchvox/(Third Party Advisory)
- https://sangomakb.atlassian.net/wiki/spaces/Switchvox/pages/1802371073/Switchvox+-+Release+Notes+Version+8.4.0.2+July+14+2026(Release Notes)
- https://horizon3.ai/attack-research/disclosures/cve-2026-9586-sangoma-switchvox-rce/#(Exploit, Third Party Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-9586(Third Party Advisory, US Government Resource)
Weakness Type
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
SQL injection occurs when software builds all or part of an SQL command from externally influenced input without neutralising the special elements that can alter the intended query, so attacker data becomes attacker instructions. In CVE-2026-9586 the PhoneIP value taken from <PolycomIPPhone> XML at the /pa endpoint is concatenated straight into PostgreSQL queries, giving an unauthenticated attacker full control over the statements the database executes.
Learn more: CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Impact Analysis
CVE-2026-9586 is remotely exploitable over the network with low attack complexity, no authentication and no user interaction — one crafted HTTP request carrying the right XML is sufficient. The result is high impact to confidentiality, integrity and availability: arbitrary SQL against the Switchvox PostgreSQL backend exposes call detail records, voicemail data, extension configuration and SIP credentials, lets the attacker modify or delete telephony configuration, and — as the disclosure explicitly notes — extends to remote code execution on the system. Compromised SIP credentials carry a direct financial dimension through toll fraud, where an attacker places expensive international calls on the victim's account, and a compromised PBX also enables call interception and caller-ID spoofing against the organisation's customers. With a CVSS 3.1 base score of 9.8 (Critical), an EPSS score of about 12% in the 96th percentile and a public exploit disclosure available, exposed Switchvox systems are under immediate threat.
Exploit Maturity
CVE-2026-9586 combines every indicator of mature exploitation. CISA has confirmed active exploitation through its Known Exploited Vulnerabilities listing with a remediation deadline of 5 September 2026 that has already passed, and a public exploit disclosure is available: Horizon3.ai has published a dedicated write-up of the Switchvox RCE tagged as exploit material, and SRA Labs' research post documents the vulnerable /pa endpoint in detail. With the injection point, the XML wrapper and the vulnerable parameter all named publicly, building a working exploit requires no reverse engineering at all. The EPSS score of approximately 12%, in the 96th percentile, reflects that reality and places it among the most actively exploited vulnerabilities currently tracked. Any internet-reachable Switchvox system below 8.4.0.2 should be treated as already compromised and investigated for toll fraud and persistence.
Remediation
- Follow the CISA KEV required action immediately. Apply mitigations in accordance with Sangoma's instructions, comply with CISA's BOD 26-04 "Prioritizing Security Updates Based on Risk" guidance and the "Forensics Triage Requirements", and discontinue use of the product if mitigations are unavailable. The KEV due date of 5 September 2026 has passed.
- Upgrade Switchvox to 8.4.0.2 or later. Versions from 8.2.2.1 up to 8.4.0.2 are affected, including SMB Edition 8.3 (104997) as originally reported; the fix is documented in the Switchvox 8.4.0.2 release notes.
- Block external access to the
/paendpoint now. The vulnerable path processes<PolycomIPPhone>XML for phone provisioning and rarely needs to be reachable from the internet — restrict it at the firewall or reverse proxy to the VLAN where the handsets live, and remove the Switchvox web interface from public exposure entirely while patching is pending. - Assume database compromise and investigate. Review the PostgreSQL backend and Switchvox configuration for unexpected admin users, extensions, call routing rules and outbound trunks; check call detail records and provider billing for unexplained international or premium-rate traffic indicating toll fraud; and examine web server logs for requests to
/pacontaining SQL syntax in thePhoneIPvalue. - Rotate credentials and harden long term. Change all Switchvox administrative passwords, SIP extension secrets and trunk credentials after patching, since the database holds them; then enforce parameterised queries as the exclusive database access pattern in any custom integration, restrict the PBX to a dedicated voice VLAN, and configure outbound calling limits and international dialling restrictions so that a future compromise cannot be monetised as easily.
Technical Details
CVE-2026-9586 is a classic SQL injection (CWE-89) in Sangoma Switchvox SMB Edition. The /pa endpoint accepts XML content beginning with <PolycomIPPhone>, a phone-provisioning message format, and extracts the PhoneIP field from it. That value is concatenated directly into PostgreSQL queries with neither sanitisation nor parameterisation, so any SQL syntax the attacker places in PhoneIP becomes part of the executed statement — there is no authentication in front of the endpoint, so no credentials are needed to reach it. From arbitrary SQL on a PostgreSQL backend an attacker can read and modify any table the application's database user can touch, and the disclosure notes the impact reaches remote code execution, the standard escalation path where the database user holds sufficient privileges or where written data feeds executed content. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H records an unauthenticated, low-complexity network attack with no user interaction and complete impact on confidentiality, integrity and availability at unchanged scope. Exploitation needs only a single crafted request, which makes the flaw trivially automatable.
Frequently Asked Questions
Is CVE-2026-9586 being actively exploited?
Yes. CISA added CVE-2026-9586 to its Known Exploited Vulnerabilities catalog with a remediation due date of 5 September 2026, and public exploit write-ups from Horizon3.ai and SRA Labs describe the vulnerable endpoint and parameter in detail. Its EPSS score of about 12% places it in the 96th percentile, indicating widespread exploitation activity.
What products are affected by CVE-2026-9586?
Sangoma Switchvox is affected in versions from 8.2.2.1 up to 8.4.0.2, with the flaw originally reported in Switchvox SMB Edition 8.3 (104997). The vulnerable component is the /pa endpoint that processes <PolycomIPPhone> provisioning XML.
How do I fix CVE-2026-9586?
Upgrade Switchvox to version 8.4.0.2 or later as documented in Sangoma's release notes, and immediately block external access to the /pa endpoint and the Switchvox web interface. Afterwards, audit the database and call records for signs of compromise and toll fraud and rotate administrative passwords, SIP extension secrets and trunk credentials.
How severe is CVE-2026-9586?
CVE-2026-9586 is Critical with a CVSS 3.1 base score of 9.8. It is unauthenticated, network-exploitable with low complexity via a single crafted request, needs no user interaction, and yields arbitrary SQL execution escalating to remote code execution, with full confidentiality, integrity and availability impact; with public exploit disclosures, an EPSS score in the 96th percentile and confirmed KEV-listed exploitation, it is an emergency-priority fix.
Need Help With Vulnerability Management?
Our security experts can help you prioritize and remediate vulnerabilities effectively.