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

Published Dec 11, 2025
·
Updated

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 Software

2 affected components
FreePBX FreePBX 16
Sangoma FreePBX =16.0

Event History

Dec 11, 2025
CVE Published
via MITRE·09:36 PM
Data Sourced
via MITRE·09:36 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-58294?

CVE-2024-58294 is rated as a critical severity vulnerability due to its potential for authenticated remote code execution.

2

How do I fix CVE-2024-58294?

To mitigate CVE-2024-58294, update FreePBX 16 to the latest version that patches this vulnerability.

3

What causes CVE-2024-58294?

CVE-2024-58294 is caused by the improper validation of user input in the API module, allowing command injection through the 'generatedocs' endpoint.

4

Who is affected by CVE-2024-58294?

CVE-2024-58294 affects users of FreePBX 16 who have authenticated access to the API module.

5

What are the potential impacts of CVE-2024-58294?

The potential impacts of CVE-2024-58294 include unauthorized remote command execution, leading to system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203