CVE-2026-40187
Last modified
CVE-2026-40187 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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**. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
Description
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EGroupware | egroupware | <= 26.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-40187?
How severe is CVE-2026-40187?
How do I fix CVE-2026-40187?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40181React Router is a router for React. In versions 7.0.0 throug…6.1
- CVE-2026-40182OpenTelemetry dotnet is a dotnet telemetry framework. From 1…5.9
- CVE-2026-40183ImageMagick is free and open-source software used for editin…5.5
- CVE-2026-40184TREK is a collaborative travel planner. Prior to 2.7.2, TREK…5.3
- CVE-2026-40185TREK is a collaborative travel planner. Prior to 2.7.2, TREK…6.5
- CVE-2026-40186ApostropheCMS is an open-source Node.js content management s…6.1
- CVE-2026-40188goshs is a SimpleHTTPServer written in Go. From 1.0.7 to bef…7.7
- CVE-2026-40189goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-be…9.8
- CVE-2026-4019The Complianz – GDPR/CCPA Cookie Consent plugin for WordPres…5.3
- CVE-2026-40190LangSmith Client SDKs provide SDK's for interacting with the…9.8
- CVE-2026-40191ClearanceKit intercepts file-system access events on macOS a…6.8
- CVE-2026-40192Pillow is a Python imaging library. Versions 10.3.0 through …7.5
Are you affected by CVE-2026-40187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
