Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40187— Authenticated RCE via Malicious eTemplate Upload in EGroupware

Quick assessment

Affected
EGroupware egroupware
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

EGroupware是EGroupware公司开源的一个在线办公平台。 EGroupware 26.0及之前版本存在安全漏洞,该漏洞源于Widget::expand_name()方法将模板widget属性值直接传递给PHP eval()调用且反引号字符未转义,可能导致已认证管理员通过上传恶意eTemplate XML文件到VFS /etemplates挂载点实现远程代码执行。

AI Predicted 8.8 Difficulty: Easy EPSS 0.86% · P58

Affected Version Matrix 1

VendorProduct Version RangeStatus
EGroupware egroupware <= 26.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40187

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Authenticated RCE via Malicious eTemplate Upload in EGroupware
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
EGroupware 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
EGroupware是EGroupware公司开源的一个在线办公平台。 EGroupware 26.0及之前版本存在安全漏洞,该漏洞源于Widget::expand_name()方法将模板widget属性值直接传递给PHP eval()调用且反引号字符未转义,可能导致已认证管理员通过上传恶意eTemplate XML文件到VFS /etemplates挂载点实现远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
EGroupware egroupware <= 26.0 -

II. Public POCs for CVE-2026-40187

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40187

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-40187 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-40187

No comments yet


Leave a comment