Skip to main content

EGroupware CVE-2026-27823

| EUVDEUVD-2026-45976 HIGH
Path Traversal (CWE-22)
2026-07-07 https://github.com/EGroupware/egroupware GHSA-h9qx-v5xp-ph8p
8.7
CVSS 4.0 · Vendor: https://github.com/EGroupware/egroupware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register or use low-priv account
  2. Delivery
    Send ajax_upload with participant_role=3
  3. Exploit
    Bypass teacher ACL check
  4. Install
    Read valid header.inc.php via importexport download
  5. C2
    Overwrite header.inc.php with injected PHP via path traversal
  6. Execute
    Await OPcache expiry or restart
  7. Impact
    Execute code as www-data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the SmallParT e-learning module to be present and the ajax_upload path reachable, plus at least one authenticated account (CVSS PR:L) - unless user self-registration is enabled, in which case an attacker can create their own account and no prior credentials are needed. The concrete bypass condition is that the course ACL is trusted from the client-supplied participant_role field, so the attacker must submit participant_role=3 (ROLE_TEACHER) in the request body. The file-write step depends on the www-data process having write permission to a valid target such as ./header.inc.php, and reliable code execution is limited by OPcache - injected PHP only runs after a server restart or OPcache expiration rather than immediately. The arbitrary read via importexport_export_ui::download (_filename parameter) is needed to obtain a valid header.inc.php so the overwrite does not break the application. Limiting factors: dependency on the SmallParT module being enabled, the low-privilege/authentication requirement when self-registration is off, and the OPcache-induced execution delay.

Impact

The vendor CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H (base 8.7) reflects network attack vector, low complexity, no user interaction, and low-privilege requirement (PR:L) with high impact to confidentiality, integrity, and availability of the vulnerable system - an accurate picture of a full-takeover chain that nonetheless requires at least one authenticated account. That authentication barrier is materially weakened when self-registration is enabled, effectively lowering the barrier toward unauthenticated exploitation, which the analyst should treat as the realistic worst case. No EPSS score, KEV entry, or public exploit code is present in the provided data, so this is currently a high-severity but not yet demonstrably mass-exploited issue; the detailed public advisory (with the participant_role bypass payload and the file-read URL) meaningfully lowers the bar for exploit development. Signals are largely consistent - no contradiction between the network vector and the described HTTP-based chain - but the PR:L rating versus the 'may be exploitable without prior authentication' note is a caveat: the true privilege requirement depends on whether self-registration is on, so verify that configuration per instance.

Exploit ScenarioDerived

A user with any low-privilege EGroupware account - or, on instances with self-registration enabled, an attacker who simply registers - sends a crafted ajax_upload request to the SmallParT media recorder, embedding participant_role=3 in the JSON body to forge teacher-level ACL and bypass the isTeacher check. The attacker first reads the valid header.inc.php via the importexport download parameter, then re-writes it through path traversal with injected PHP that preserves file validity, gaining code execution as www-data after OPcache expiry or a restart. No public exploit code is identified at time of analysis, but the advisory publishes the exact bypass payload and read URL, making weaponization straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 20, 2026

Remote code execution in EGroupware (composer package egroupware/egroupware) lets an authenticated low-privilege user chain an authorization bypass, an arbitrary file write, and an arbitrary file read to fully compromise the server. An attacker forges the participant_role value in a SmallPartMediaRecorder::ajax_upload() request to impersonate a course teacher, then uses path traversal to overwrite header.inc.php with attacker-controlled PHP while preserving a valid file structure recovered via the importexport download read primitive. Where user self-registration is enabled the entire chain can be reached without pre-existing credentials; no public exploit code is identified at time of analysis despite a detailed vendor advisory, and the flaw is not in CISA KEV.

Earlier versions of this analysis (1)
v1 Jul 07, 2026 - 13:32

Remote code execution in EGroupware lets an attacker chain a broken authorization check with an arbitrary file write and an arbitrary file read to fully compromise the server. An authenticated user can forge the participant_role field in a SmallPartMediaRecorder::ajax_upload() request to impersonate a course teacher, then use path traversal to read and overwrite header.inc.php with valid but attacker-controlled PHP, yielding code execution after OPcache refresh or a setup-password change. Where self-registration is enabled the entire chain becomes reachable pre-authentication. No public exploit has been identified, but the advisory documents a complete, reproducible technique.

RemediationAI

Vendor-released patch: upgrade to EGroupware 26.2.20260224 on the 26.x line, or to 23.1.20260224 on the 23.x line, per GHSA-h9qx-v5xp-ph8p (https://github.com/EGroupware/egroupware/security/advisories/GHSA-h9qx-v5xp-ph8p). Until patched, disable user self-registration to preserve the authentication barrier and prevent unauthenticated reach of the chain (side effect: new users must be provisioned manually by admins). Where feasible, disable or restrict access to the SmallParT module and block or ACL-restrict the ajax_upload endpoint and the importexport export download action (menuaction=importexport.importexport_export_ui.download) at a reverse proxy or WAF, since these carry the write and read primitives (trade-off: e-learning media recording and import/export features become unavailable to legitimate users). Ensure filesystem permissions prevent the www-data account from writing to header.inc.php and the EGroupware source tree, which removes the file-write target (verify this does not break legitimate config updates). After patching, rotate the admin/setup password and review header.inc.php for tampering, since the advisory notes password modification as an alternate impact.

Affected VersionsENISA

egroupware ≤ 26.2.20260216
egroupware ≤ 23.1.20260131

Affected Packages

composer egroupware/egroupware fix: 23.1.20260224, 26.2.20260224
euvd egroupware no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

EGroupware is a PHP-based collaborative groupware suite (calendar, mail, CRM, e-learning via the SmallParT module) distributed as the Composer package egroupware/egroupware. The root cause class is CWE-22 (improper limitation of a pathname to a restricted directory, i.e., path traversal), compounded by a broken authorization model. In SmallPartMediaRecorder::ajax_upload() the teacher check reads the course ACL role from the request body's participant_role field rather than from a server-side trusted source, so client-supplied JSON dictates the privilege decision. The subsequent upload derives its destination from the user-controlled video_type/video_path value, permitting directory traversal to sensitive targets such as header.inc.php (the central EGroupware configuration bootstrap). A separate flaw in importexport_export_ui::download uses the user-controlled _filename parameter to read arbitrary files, allowing the attacker to exfiltrate the legitimate header.inc.php so a modified-but-valid replacement can be written without breaking the application. OPcache means injected PHP executes after a server restart or cache expiration.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/EGroupware/egroupware) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable HTTP chain with low complexity and no user interaction; PR:L reflects the required low-privilege account (self-registration can lower it), and file overwrite of header.inc.php yields full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/EGroupware/egroupware).

CVSS VectorVendor: https://github.com/EGroupware/egroupware

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
Jul 20, 2026 - 16:28 vuln.today
v2 - CVSS changed
CVSS changed
Jul 20, 2026 - 16:22 NVD
8.7 (HIGH)

DescriptionCVE.org

Summary

A critical vulnerability has been identified in EGroupware that may lead to Remote Code Execution (RCE). The issue allows an authenticated attacker to execute arbitrary commands on the server. If user self-registration is enabled, the vulnerability may be exploitable without prior authentication.

The vulnerability stems from improper authorization checks combined with a file write primitive and an arbitrary file read vulnerability, which together enable full system compromise.

Details

1. Improper Authorization in SmallPartMediaRecorder::ajax_upload()

The vulnerability originates in:

EGroupware\SmallParT\Widgets\SmallPartMediaRecorder::ajax_upload()

The function attempts to verify whether the current user is a teacher of the specified course ID before allowing a file upload.

The critical authorization check ensures that the course access control list (ACL) contains:

$required_acl (self::ROLE_TEACHER, i.e., 3)

However, the course_acl value is derived from user-controlled request data.

_Bypass Technique_

A crafted request can manipulate the participant_role value inside the request body:

json
{
  "video": {
    "course_id": {
      "participants": [
        {
          "account_id": "7",
          "name": "Test",
          "joined_at": "2026-01-10",
          "participant_role": 3
        }
      ],
      "account_id": "7",
      "course_id": "1"
    },
    "video_hash": ".",
    "video_type": "file_here"
  }
}

Because the course ACL is taken from participant_role, setting it to 3 allows bypassing the isTeacher check.

2. Arbitrary File Write

After bypassing authorization, the function uploads the provided file into a controllable file path.

The file path is derived from the video_type (or video_path) value, enabling path traversal.

Due to file permission restrictions (server running as www-data), writable targets are limited. One viable target is ./header.inc.php

3. Constraints

Writing a simple PHP webshell may not immediately execute due to OPcache.

An invalid header.inc.php file will break the system and prevent the server from running.

Therefore, a valid file structure must be preserved.

4. Arbitrary File Read

A second vulnerability allows arbitrary file read via:

/egroupware/index.php?menuaction=importexport.importexport_export_ui.download&_filename=../../../usr/share/egroupware/header.inc.php&_suffix=txt&_type=text/plain&filename=leak

The issue resides in:

importexport_export_ui::download

The _filename parameter is user-controlled and used to read arbitrary files.

This allows retrieving the original header.inc.php content.

5. Achieving Remote Code Execution

By combining: Arbitrary file read (to retrieve valid header.inc.php); Arbitrary file write (to overwrite it with modified content), an attacker can inject controlled PHP code while preserving file validity.

This results in Remote Code Execution after server restart, or OPcache expiration. An alternative impact includes modifying the admin setup password to gain full system control.

Impact

Remote Code Execution Full system compromise Arbitrary file read Arbitrary file write Potential complete takeover of EGroupware instance

Reported by

This finding was discovered by Huong Kieu of Cenobe Security (https://cenobe.com/)

Executive ViewAI

Why It Matters

EGroupware deployments face a critical remote code execution vulnerability that fully compromises the server. In default deployments, attackers must compromise a low-privilege account; however, organizations with self-registration enabled face exposure to unauthenticated exploitation. Either path grants attackers complete access to sensitive course data, system credentials, and infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.0%
Top 42% exploitable
Prevalence
Medium
established open-source groupware, common in SMBs and public sector, not ubiquitous
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy