FreePBX Endpoint Manager
CVE-2025-59051
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to FreePBX web admin
-
DeliveryOpen Endpoint Manager Network Scanning
-
ExploitInject shell metacharacters into scan input
-
ExecutionCommand runs as asterisk user
-
ImpactArbitrary code execution on PBX host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a valid authenticated session to the FreePBX web interface with a KNOWN username, and (2) high/administrative privileges sufficient to reach the Endpoint Manager module's Network Scanning feature, which exposes nmap via the web UI. The concrete trigger is supplying crafted, insufficiently sanitized input to that Network Scanning function, which is passed to an OS command. Limiting factors: the PR:H requirement means an unprivileged or unauthenticated remote attacker cannot exploit this; the Endpoint Manager module (a commercial add-on) must be installed and the Network Scanning feature reachable; and affected deployments must be running Endpoint Manager 16 before 16.0.92 or 17 before 17.0.6. No user interaction by a victim is required. |
| Impact | Multiple signals converge on a moderate-but-real risk rather than an emergency. The CVSS 4.0 base score of 8.6 (HIGH) reflects network attack vector (AV:N), low complexity (AC:L), no attacker-side requirements (AT:N), no user interaction (UI:N), and high confidentiality/integrity impact with low availability impact (VC:H/VI:H/VA:L) - but it is explicitly gated by PR:H, meaning the attacker must already hold high (administrative) privileges in the FreePBX web interface. This single factor is the dominant risk-limiter: an outsider cannot trigger this directly. The EPSS score is low at 0.53% (43rd percentile), consistent with a vulnerability that requires authentication and is not yet being mass-exploited. There is no CISA KEV listing and no public exploit code identified in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' SSVC-style reasoning: exploitation is not observed, the flaw is likely automatable once credentials exist, and technical impact is total for the asterisk service context. The signals are internally consistent - high impact offset by a high privilege precondition and low real-world exploitation probability - so this is a legitimate patch priority for FreePBX operators (especially where web admin access is broadly delegated or shared) but not a drop-everything internet-wide threat. |
| Exploit ScenarioDerived | An attacker who has obtained valid FreePBX web admin credentials (via phishing, credential reuse, or an insider) navigates to the Endpoint Manager's Network Scanning feature and injects shell metacharacters into the user-supplied input passed to nmap. Because input is insufficiently sanitized, the crafted value is executed as an OS command in the context of the asterisk user, giving the attacker arbitrary command execution on the PBX host. No public proof-of-concept exploit was identified in the provided data, and the network attack vector with low complexity means exploitation is straightforward once authenticated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
OS command injection in the FreePBX Endpoint Manager module's Network Scanning feature allows a highly privileged, authenticated user to execute arbitrary operating system commands as the asterisk service account, affecting Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6. The CVSS 4.0 base score is 8.6 (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L), and our independent assessment concurs with high confidentiality and integrity impact but only low availability impact, since this is effectively post-authentication command execution rather than a pre-auth compromise. No public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis, and EPSS is low at 0.53% (43rd percentile), so the practical risk is concentrated in deployments where the Endpoint Manager commercial module is installed and its Network Scanning feature is reachable. Vendor-released patches exist: Endpoint Manager 16.0.92 and 17.0.6.
RemediationAI
Upgrade the FreePBX Endpoint Manager module to the vendor-released fixed versions: 16.0.92 for the 16.x branch or 17.0.6 for the 17.x branch, which the advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-qgj3-f9gj-98v9 identifies as resolving the flaw; modules are normally updated through the FreePBX Module Admin interface or the standard 'fwconsole ma upgrade endpoint' workflow. If immediate patching is not possible, compensating controls with known trade-offs include disabling or removing the Endpoint Manager Network Scanning feature if device discovery is not operationally required (this sacrifices the nmap-based discovery capability fully), and strictly restricting web-interface access to the module to trusted administrative networks via firewall rules or VPN-only exposure (this reduces but does not eliminate risk from a compromised or malicious admin account). Because exploitation requires high privileges, tightening FreePBX admin account hygiene - unique strong credentials, removal of unused admin accounts, and review of module-level permissions - is worthwhile but should not be treated as a substitute for the upgrade. Given the absence of public exploit code and confirmed in-the-wild exploitation, prioritize patching based on whether the Endpoint Manager module is exposed and whether administrative access paths are broadly reachable; also monitor web and Asterisk logs for anomalous nmap invocations or unexpected shell processes running as the asterisk user.
Affected ProductsAI
The vulnerability affects the FreePBX Endpoint Manager module in version 16 prior to 16.0.92 and version 17 prior to 17.0.6, as stated in the GitHub Security Advisory GHSA-qgj3-f9gj-98v9 (https://github.com/FreePBX/security-reporting/security/advisories/GHSA-qgj3-f9gj-98v9), which is the only reference associated with this CVE. Endpoint Manager is a commercial add-on to FreePBX rather than a component of FreePBX core, so only systems with the module installed and the Network Scanning feature reachable are in scope; Endpoint Manager 16.0.92 and 17.0.6 and later are not affected. No CPE strings were supplied in the source data, so the version ranges above should be treated as the authoritative affected-product statement pending any vendor clarification.
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 root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command, i.e. OS command injection). FreePBX Endpoint Manager is a commercial module for the FreePBX/Asterisk PBX platform that provisions and manages SIP/telephony endpoints; it bundles a Network Scanning feature that exposes nmap through the FreePBX web interface to let administrators discover network devices. Because user-supplied input to that scanning functionality is insufficiently sanitized before being passed to an OS command, crafted input is interpreted by the underlying shell rather than treated as inert nmap arguments. Per the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N), the issue is remotely reachable with low attack complexity, no attack requirements, and no victim user interaction, but requires high privileges (PR:H) - i.e. a valid authenticated session for a known account with access to the module. Successful exploitation yields command execution in the context of the asterisk user, which on typical FreePBX installs owns much of the telephony stack and configuration, making full compromise of the PBX plausible from that foothold.
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:L/SC:N/SI:N/SA:N
Web-reachable (AV:N) and simple to trigger (AC:L) but requires administrative web access (PR:H); command execution as asterisk yields high C/I and low A, scope unchanged.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
The FreePBX Endpoint Manager module includes a Network Scanning feature that provides web-based access to nmap functionality for network device discovery. In Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6, insufficiently sanitized user-supplied input allows authenticated OS command execution as the asterisk user. Authentication with a known username is required. Updating to Endpoint Manager 16.0.92 or 17.0.6 addresses the issue.
Executive ViewAI
FreePBX Endpoint Manager contains a high-severity OS command injection flaw that lets a highly privileged authenticated user execute commands as the asterisk service account, potentially compromising telephony infrastructure, call data, and PBX configuration integrity. The risk is concentrated in organizations running the commercial Endpoint Manager module with the Network Scanning feature reachable, and leadership should prioritize inventory, access restriction, and remediation because telephony is often business-critical. No public exploit identified at time of analysis, and the vendor has released fixed versions for supported branches.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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