CVE-2024-58294

HIGH CVSS 4.0: 8.7 EPSS 3.57%
Updated Oct 27, 2026
Sangoma
Parameter Value
CVSS 8.7 (HIGH)
Type CWE-78 (OS Command Injection)
Vendor Sangoma
Public PoC Yes

FreePBX 16 contains an authenticated remote code execution vulnerability in the API module that allows attackers with valid session credentials to execute arbitrary commands. Attackers can exploit the 'generatedocs' endpoint by crafting malicious POST requests with bash command injection to establish remote shell access.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Sangoma Freepbx
cpe:2.3:a:sangoma:freepbx:16.0:*:*:*:*:*:*:*
— —