RCE in Freepbx

CVE-2024-58294

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.036 (88.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-58294: held from 0.036 to 0.036.

EPSS over last 30 days · oldest: 0.036 · newest: 0.036 · change: -0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-58294?
CVE-2024-58294 is a high-severity vulnerability in Freepbx, classified under OS Command Injection. CVSS score: 8.8/10. Published 2025-12-11.
How severe is CVE-2024-58294?
High severity. CVSS v3 base score is 8.8 out of 10.