# CVE-2026-44238: FreePBX CDR Reports SQL injection in order and sort parameters

Source: https://junglewise.ai/threats/cve-2026-44238-freepbx-cdr-reports-sql-injection-in-order-and-sort-parameters  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-29. Updated: 2026-05-29  
License: CC BY 4.0 with a link back

CVE-2026-44238 · Severity: info · CVSS 8.5 · Published 2026-05-29

FreePBX is an open-source phone system management platform. A security vulnerability in its Call Detail Record (CDR) reporting module allows an authorized user to perform unauthorized database queries. While an attacker needs an account with access to the reporting section, they could use this flaw to view or modify sensitive information stored in the system's database.

Vendors: [FreePBX](https://junglewise.ai/threats/vendors/freepbx).

## Quick answers

**Is CVE-2026-44238 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-44238 being exploited in the wild.

**How severe is CVE-2026-44238?** Informational severity, with a CVSS score of 8.5, published 29 May 2026.

**Which products and versions are affected?** FreePBX CDR < 16.0.50.

**Is there a fix for CVE-2026-44238?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-44238 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-44238?** Check whether you run FreePBX CDR at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An authenticated SQL injection vulnerability exists in the CDR Reports module of FreePBX. The vulnerability is located in the 'order' and 'sort' POST parameters, which are interpolated directly into the ORDER BY clause of SQL queries. While the application uses escapeSimple(), this function only escapes single quotes and fails to prevent structural SQL injection in unquoted ORDER BY contexts. An attacker with FreePBX Administration Control Panel access and CDR section permissions can exploit this to execute arbitrary SQL commands. The issue is resolved in CDR module versions 16.0.50 and 17.0.11.

## Affected products

- FreePBX cdr (FreePBX 16) < 16.0.50
- FreePBX cdr (FreePBX 17) < 17.0.11

## Timeline

- 2026-05-19: advisory: Original GitHub advisory published
- 2026-05-29: disclosed: NVD publication date

## References

- [https://github.com/FreePBX/security-reporting/security/advisories/GHSA-p9fq-fmpw-2h9x](https://github.com/FreePBX/security-reporting/security/advisories/GHSA-p9fq-fmpw-2h9x)
