Skip to main content
← All vulnerabilities
CVE-2026-40187GHSA-8737-2X9G-XJJ7

Authenticated RCE via Malicious eTemplate Upload in EGroupware

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 26.4.20260413, 23.1.20260601
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • EGroupware egroupware

    through 26.0

  • egroupware/egroupwarePackagist

    From 26.0.20251208 · fixed in 26.4.20260413

  • egroupware/egroupwarePackagist

    fixed in 23.1.20260601

References 1

GitHub · EGroupware/egroupware