CVE-2024-58294

published 11 Dec 2025 · updated 14 Jul 2026

FreePBX 16 Authenticated Remote Code Execution via API Module

9.7CriticalCVSS 8.7EPSS 4%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreePBX=16

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58294 severity on Zeptric[![CVE-2024-58294](https://zeptric.io/badge/cve/CVE-2024-58294.svg)](https://zeptric.io/cve/CVE-2024-58294)