8.6

CVE-2026-40187: egroupware OS Command Injection

CVSS: 8.6v4.0HighDeferred
Published 20-07-2026Last modified 20-07-2026

Vulnerability summary

CVE-2026-40187 is a high (CVSS 8.6) OS Command Injection vulnerability in egroupware. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 57.9% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.6/10
010
High · v4.0 (CVE.org)
EPSS score
0.86%
0%100%
Low · -0.08 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 20-07-2026
    PublishedVulnerability first disclosed.
  2. 20-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.86%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

-0.08 pp

From 0.93% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.86%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Egroupware1 product

1 vendor · 1 product

References

1 links