# CVE-2024-40614: EGroupware mishandles an ORDER BY clause

Source: https://junglewise.ai/threats/cve-2024-40614-egroupware-mishandles-an-order-by-clause  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-07  
License: CC BY 4.0 with a link back

CVE-2024-40614 · Severity: low · CVSS 3.1 · Published 2024-07-07

EGroupware mishandles an ORDER BY clause

Technologies: [egroupware/egroupware (Packagist)](https://junglewise.ai/threats/technologies/egroupware-egroupware). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

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

**How severe is CVE-2024-40614?** Low severity, with a CVSS score of 3.1, published 7 July 2024.

**Which products and versions are affected?** egroupware/egroupware (Packagist) ECOSYSTEM:introduced=0,fixed=23.1.20240624.

**Is there a fix for CVE-2024-40614?** Yes. egroupware/egroupware (Packagist): upgrade to 23.1.20240624 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-40614?** Check whether you run egroupware/egroupware (Packagist) 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.

## How to fix

- egroupware/egroupware (Packagist): upgrade to 23.1.20240624 or later

  ```sh
  composer require egroupware/egroupware:^23.1.20240624
  ```


## Affected products

- egroupware/egroupware (Packagist) ECOSYSTEM:introduced=0,fixed=23.1.20240624

## Identifiers

- CVE-2024-40614
- GHSA-phg7-8mm9-gj88

## Related threats

- [EGroupware RCE via malicious eTemplate upload in Widget::expand_name](https://junglewise.ai/threats/cve-2026-40187-egroupware-rce-via-malicious-etemplate-upload-in-widget-expand)
- [EGroupware remote code execution via improper authorization and file write](https://junglewise.ai/threats/cve-2026-27823-egroupware-remote-code-execution-via-improper-authorization-and)
- [EGroupware Local File Inclusion in Mail Compose](https://junglewise.ai/threats/cve-2026-45016-egroupware-local-file-inclusion-in-mail-compose)
- [EGroupware has SQL Injection in Nextmatch Filter Processing](https://junglewise.ai/threats/cve-2026-22243-egroupware-has-sql-injection-in-nextmatch-filter-processing)
- [EGroupware Code Injection vulnerability](https://junglewise.ai/threats/cve-2010-3313-egroupware-code-injection-vulnerability)
