EGroupware
Authenticated RCE via Malicious eTemplate Upload in EGroupware
In egroupware version 26.0 and earlier, 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::expand_name()` 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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <= 26.0
- >= 26.0.20251208, < 26.4.20260413
Fixed in 26.4.20260413
from GitHub Security Advisory GHSA-8737-2x9g-xjj7
- < 23.1.20260601
Fixed in 23.1.20260601
from GitHub Security Advisory GHSA-8737-2x9g-xjj7
Mitigation
Upgrade egroupware/egroupware to 26.4.20260413 or later.
Upgrade egroupware/egroupware to 23.1.20260601 or later.
References
- Vendor advisory github.com/EGroupware/egroupware/security/advi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.