CVE-2025-64328: Authenticated Command Injection in Sangoma FreePBX Filestore
- Vendor
- Sangoma Technologies Corporation
CVE-2025-64328 is a post-authentication OS command injection vulnerability in the filestore component of the Sangoma FreePBX administrative interface, affecting versions 17.0.2.36 and later before 17.0.3. Insufficient input sanitization in the testconnection operation's check_ssh_connect() function allows an authenticated user with administrative-panel access to execute arbitrary shell commands as the asterisk user. Exploitation has been observed since early December 2025, including deployment of EncystPHP web shells. CISA added the vulnerability to its Known Exploited Vulnerabilities catalog on February 3, 2026.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises host confidentiality, integrity, and availability within the asterisk account's permissions. Attackers can execute commands, access accessible telephony configuration and credentials, modify files, and deploy web shells for persistent remote access. Observed post-compromise activity includes credential harvesting, account manipulation, additional backdoors, and PBX toll fraud. Root-level access observed in associated campaigns is a follow-on outcome, not an established direct privilege guarantee of this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Restrict the FreePBX Administration Panel to trusted management networks or VPN access and block access from untrusted networks. Limit panel access to authorized users, enforce strong unique credentials, and enable multifactor authentication where supported. Monitor for unexpected PHP files, web-server processes spawning shells, unauthorized account changes, and anomalous scheduled tasks or outbound connections. Isolate compromised PBX systems during investigation and recovery; carrier-side registration restrictions, destination blocks, and spending limits can reduce follow-on toll-fraud exposure.
Remediation
Patch, then assume compromise.
Update the affected FreePBX filestore component to version 17.0.3 or a later fixed release. On potentially compromised systems, investigate for web shells, unauthorized accounts, scheduled tasks, and other persistence; patching alone does not eradicate an existing infection. Preserve evidence and rebuild confirmed compromised hosts from a clean image, or comprehensively remove persistence and unauthorized modifications. Rotate exposed telephony, application, database, and host credentials after eradication.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-64328 exploited in the wild?
- Yes. As of Oct 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 3, 2026.
- Is there a public exploit for CVE-2025-64328?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-64328, the earliest disclosed Nov 15, 2025.
- Is there a patch for CVE-2025-64328?
- Update the affected FreePBX filestore component to version 17.0.3 or a later fixed release. On potentially compromised systems, investigate for web shells, unauthorized accounts, scheduled tasks, and other persistence; patching alone does not eradicate an existing infection.
- What products are affected by CVE-2025-64328?
- Sangoma Technologies Corporation Filestore, Sangoma Technologies Corporation Freepbx, and Sangoma Technologies Corporation Firestore.
- How severe is CVE-2025-64328?
- CVE-2025-64328 has a CVSS v4 score of 8.6 (High) and an EPSS score of 84.6% (100th percentile) as of Oct 28, 2026.
Recent activity
70 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.