FreePBX
CVE-2025-67736
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain ACP administrator credentials
-
DeliverySubmit malicious input to tts module
-
ExploitTrigger SQL injection (CWE-89)
-
ExecutionExecute code as asterisk user
-
PersistEscalate to root
-
ImpactFull host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated session with administrator-level access to the FreePBX Administrator Control Panel (ACP) and the presence/use of the Text-to-Speech (tts) module on a vulnerable install (FreePBX versions prior to 16.0.5 or 17.0.5). The injection point is reached through tts module functionality. Limiting factors: the PR:H administrator prerequisite sharply narrows the attacker population to those already holding admin credentials (insiders, phished/reused credentials, or an attacker who already escalated into ACP); no user interaction is needed (UI:N) and the vector is network-reachable (AV:N) to the admin interface. The described privilege escalation to root is a chained post-exploitation outcome, not a separate precondition. |
| Impact | This is a genuine but access-gated risk rather than a mass-exploitation threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VC:H/VI:H/VA:H, base 8.6) is driven high by full confidentiality/integrity/availability impact and the description's claim of chained elevation from the |
| Exploit ScenarioDerived | An attacker who has obtained FreePBX Administrator Control Panel credentials (via phishing, credential reuse, or a lower-privilege foothold) submits crafted input through the Text-to-Speech (tts) module, injecting SQL to read sensitive database contents. They then leverage the injection to execute code as the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
SQL injection in the FreePBX Text-to-Speech (tts) module lets authenticated administrators extract sensitive data from the backend database and, through a chained post-exploitation path, execute code as the asterisk user with potential elevation to root. FreePBX installations running the tts module at versions prior to 16.0.5 or 17.0.5 are affected; exploitation requires a valid administrator session on the Administrator Control Panel (ACP), so the risk is access-gated rather than a mass-exploitation threat. No public exploit code or confirmed active exploitation was identified at time of analysis, and vendor patches are available in 16.0.5 and 17.0.5.
RemediationAI
Vendor-released patch: upgrade the tts module to 16.0.5 or 17.0.5 as applicable, following the FreePBX security advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-632c-49p9-x7cw and the vendor's security fixes page at https://www.freepbx.org/watch-what-we-do-with-security-fixes-%f0%9f%91%80. If immediate upgrade is not possible, restrict Administrator Control Panel access to trusted networks or IPs and enforce strong, unique admin credentials with MFA where available, understanding that these controls do not fix the SQL injection itself and only reduce the attacker population. Disabling or removing the tts module if Text-to-Speech functionality is not required eliminates the vulnerable code path, but it will break TTS-dependent IVR or feature behavior; any such change should be tested and documented. Because exploitation requires an existing admin session, audit ACP accounts for unauthorized or stale administrators and review database and Asterisk logs for anomalous SQL or command activity.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is a CWE-89 SQL injection in the PHP-based tts (Text to Speech) module of FreePBX, an open-source web GUI that manages the Asterisk PBX. The module fails to properly neutralize special elements in SQL commands, allowing an authenticated ACP administrator to inject arbitrary SQL through tts module functionality. Because ACP administrators already possess high privileges, the injection can be used to read sensitive database contents and then chain into local code execution as the asterisk service account, with further privilege escalation to root described as a post-exploitation outcome. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) and our assessed CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) both reflect network reachability but a high-privilege prerequisite, aligning with the CPE data identifying sangoma:freepbx as the affected product family.
Know when Freepbx gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable admin interface (AV:N/AC:L), but administrator access to ACP is required so PR:H; full C/I/A impact given SQL data extraction and code execution leading to root.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
The FreePBX module tts (Text to Speech) for FreePBX, an open-source web-based graphical user interface (GUI) that manages Asterisk. Versions prior to 16.0.5 and 17.0.5 are vulnerable to SQL injection by authenticated users with administrator access. Authenticated users with administrative access to the Administrator Control Panel (ACP) can leverage this SQL injection vulnerability to extract sensitive information from the database and execute code on the system as the asterisk user with chained elevation to root privileges. Users should upgrade to version 16.0.5 or 17.0.5 to receive a fix.
Executive ViewAI
Organizations running the FreePBX Text-to-Speech (tts) module for their telephony platform are exposed to a high-severity flaw that allows an attacker holding an administrator session on the Administrator Control Panel to read sensitive data from the underlying database and potentially escalate to full server compromise, including root-level access. Because FreePBX typically underpins an organization's voice communications, a successful compromise could disrupt calling services, expose stored credentials and call records, and provide a foothold deeper into the network. The exposure is gated by the need for valid administrative access rather than being broadly exploitable, so leadership should treat this as a privileged-insider or credential-theft risk requiring prompt remediation and tighter administrative access controls.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
FreePBX 15, 16, and 17 contain SQL injection vulnerabilities enabling unauthenticated access to the administrator interf
The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attacke
admin/libraries/view.functions.php in FreePBX 2.9 before 2.9.0.14, 2.10 before 2.10.1.15, 2.11 before 2.11.0.23, and 12
htdocs_ari/includes/login.php in the ARI Framework module/Asterisk Recording Interface (ARI) in FreePBX before 2.9.0.9,
Authenticated arbitrary file upload in the FreePBX Endpoint Manager module (FreePBX 16 before 16.0.92 and FreePBX 17 bef
Authenticated SQL injection in the FreePBX Endpoint Manager module allows a user holding a valid, known FreePBX username
Authentication bypass in the FreePBX Endpoint Manager module lets remote, unauthenticated attackers impersonate any targ
Sangoma FreePBX 115.0.16.26 and below, 14.0.13.11 and below, 13.0.197.13 and below have Incorrect Access Control. Rated
Sangoma Technologies FreePBX before cdr 15.0.18, 16.0.40, 15.0.16, and 16.0.17 was discovered to contain an access contr
FreePBX 10.13.66-32bit and 14.0.1.24 (SNG7-PBX-64bit-1712-2) allow post-authentication SQL injection via the order param
Multiple cross-site scripting (XSS) vulnerabilities in FreePBX 2.9 and earlier allow remote attackers to inject arbitrar
An issue was discovered in Manager 13.x before 13.0.2.6 and 15.x before 15.0.6 before FreePBX 14.0.10.3. Rated medium se
NVD
CVE.org
EPSS
GitHub
Exploit-DB