PoC Monitor
← All CVEs
CVE-2026-40187published 20 Jul 2026 17:00 UTCData: JSON · API

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

EGroupware egroupware
  • <= 26.0
egroupware/egroupware (Packagist)
  • >= 26.0.20251208, < 26.4.20260413

Fixed in 26.4.20260413

from GitHub Security Advisory GHSA-8737-2x9g-xjj7

egroupware/egroupware (Packagist)
  • < 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

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.