EGroupware has Authenticated RCE via Malicious eTemplate Upload
High severity. Published 7 July 2026. Update egroupware/egroupware to the fixed version of your branch (26.4.20260413, 23.1.20260601): composer update egroupware/egroupware.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| egroupware/egroupware (opens in a new tab) | >= 26.0.20251208, < 26.0.20260113 | < 23.1.20260601 | 26.4.20260413, 23.1.20260601 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show egroupware/egroupware
composer auditAdvisory details
| Severity | High |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-40187 (opens in a new tab) |
| GHSA | GHSA-8737-2x9g-xjj7 (opens in a new tab) |
| Weakness | CWE-78, CWE-95 |
What the advisory says
Summary
An authenticated administrator can achieve OS-level Remote Code Execution (RCE) by uploading a malicious eTemplate XML file (.xet) to the VFS /etemplates mount.
The Widget::expandname() method passes template widget attribute values directly into a PHP eval() call with only double-quote escaping applied - backtick characters are not escaped.
In PHP, backticks inside a double-quoted eval() string execute shell commands. This allows an admin-level user to escalate from web application access to arbitrary OS command execution on the server.
------------------------------------------------------------------------
Details
Source: GHSA-8737-2x9g-xjj7 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- EGroupware: User-Controlled Identity Provider Selection in SAML Authentication (opens in a new tab) (medium, 17 November 2026)
- EGroupware has a Remote Code Execution Vulnerability (critical, 7 July 2026)
- EGroupware Vulnerable to Local File Inclusion via file:// URI in Mail Compose (opens in a new tab) (medium, 7 July 2026)