# CVE-2024-58294: FreePBX 16 Authenticated Remote Code Execution via API Module

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.57%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-12-11T21:36:11.213Z
- Modified: 2026-10-27T18:10:00.130Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- FreePBX FreePBX: 16
- sangoma freepbx: 16.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.exploit-db.com/exploits/52031> (exploit, third-party-advisory, vdb-entry)
- <https://www.youtube.com/watch?v=rqFJ0BxwlLI> (exploit, product)
- <https://www.freepbx.org/> (product)
- <https://www.vulncheck.com/advisories/freepbx-authenticated-remote-code-execution-via-api-module> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-58294](https://www.cve.org/CVERecord?id=CVE-2024-58294), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2024-58294](https://nvd.nist.gov/vuln/detail/CVE-2024-58294), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2024-58294 · Whole record: https://cve.day/CVE-2024-58294.json · Rebuilt by cve.day 2026-11-25T22:58:52.937Z
