BuzzPHP
LightDarkSystem

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?

PackageAffected versionsFixed in
egroupware/egroupware (opens in a new tab)>= 26.0.20251208, < 26.0.20260113 | < 23.1.2026060126.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 audit

Advisory details

SeverityHigh
Published
Updated
CVECVE-2026-40187 (opens in a new tab)
GHSAGHSA-8737-2x9g-xjj7 (opens in a new tab)
WeaknessCWE-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

All Composer security advisories