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.
CVE-2026-40187
This high-severity CVE scores 8.6 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.9%, top 45% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.6
- EG Score
- 8.6(medium)
- EG Risk
- 55(Track*)EG Risk 55/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity86% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 54.6%
- KEV
- Not listed
Published
July 7, 2026
Last Modified
July 20, 2026
Advisory Details (1)
Auto-updated Jul 20, 2026Authenticated RCE via Malicious eTemplate Upload in EGroupware · Advisory · EGroupware/egroupware · GitHub
https://github.com/EGroupware/egroupware/security/advisories/GHSA-8737-2x9g-xjj7Vendor Advisories for CVE-2026-40187(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 6× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 03:11 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:11 UTCEG score recompute▲ 8.60
- 2026-07-20 17:09 UTCMITRE cvelistV5CVSS v3 → 8.6 · CVSS v4 → 8.6
- 2026-07-07 13:38 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-78 · CWE-95
Frequently asked(5)
What is CVE-2026-40187?
When was CVE-2026-40187 disclosed?
Is CVE-2026-40187 actively exploited?
What is the CVSS score of CVE-2026-40187?
How do I remediate CVE-2026-40187?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-40187
Is Your Infrastructure Affected by CVE-2026-40187?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.