CVE-2026-40187egroupware
High 8.6
Follow: this CVE · EGroupware · egroupware We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 20, 2026
- Updated
- Jul 23, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for egroupware.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | egroupware/egroupware |
≥ 26.0.20251208 < 26.4.20260413 |
26.4.20260413 |
composer require "egroupware/egroupware:^26.4.20260413" |
| Packagist | egroupware/egroupware |
< 23.1.20260601 |
23.1.20260601 |
composer require "egroupware/egroupware:^23.1.20260601" |
Per OSV / GitHub Advisories (GHSA-8737-2x9g-xjj7). Check the version in your lockfile before upgrading.
Affected products
- EGroupware · egroupware
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.