CVE-2026-40187CWE-78CWE-95

Authenticated RCE via Malicious eTemplate Upload in EGroupware

High · published July 20, 2026

CVSS v4.0
8.6
EPSS
1%
Percentile
58.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.6 · HIGH
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
EPSS
0.00857 · 58.0th percentile
Weaknesses
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2026-07-20T17:00Z
EPSS history
Timeline
  • 20 JUL 17:00Z
    Authenticated RCE via Malicious eTemplate Upload in EGroupware
    cvelistv5