CVE-2024-58294: FreePBX 16 contains an authenticated remote code execution vulnerability in the API module that allows attacke
CVE-2024-58294 is a high-severity flaw (CVSS 8.8) affecting freepbx. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 3.6% (top 11%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2025-12-11 |
| Last modified | 2026-10-27 |
Last updated 2026-10-27 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: www.exploit-db.com/exploits/52031
- Write-up: www.youtube.com/watch?v=rqFJ0BxwlLI
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-58294?
freepbx: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-58294 being exploited?
CVE-2024-58294 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-58294 affect?
CVE-2024-58294 affects freepbx. Severity is high (CVSS 8.8). 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 mal
How urgent is CVE-2024-58294?
Priority 58/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-45562 HIGH 7.2 UPGRADE FreePBX is an open source IP PBX
- CVE-2026-54674 HIGH 8.8 UPGRADE FreePBX is an open source IP PBX
- CVE-2026-54675 HIGH 8.8 UPGRADE FreePBX is an open source IP PBX
- CVE-2026-54708 HIGH 8.8 UPGRADE FreePBX is an open source IP PBX
- CVE-2026-54710 HIGH 8.8 UPGRADE FreePBX is an open source IP PBX