CVE-2026-40187
HIGH 8.6CVSS 4.0EGroupware has Authenticated RCE via Malicious eTemplate Upload
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.
- Published
- 20 Jul 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78CWE-95
- Also known as
- GHSA-8737-2x9g-xjj7
- Sources
- NVDJSONOSV GHSA-8737-2x9g-xjj7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | egroupware/egroupware | >= 26.0.20251208, < 26.4.20260413 | 26.4.20260413 |
| OSV | Packagist | egroupware/egroupware | < 23.1.20260601 | 23.1.20260601 |
References
- https://github.com/EGroupware/egroupware/security/advisories/GHSA-8737-2x9g-xjj7 · WEB
- https://github.com/EGroupware/egroupware · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 20 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Jul 2026)