CVE-2026-27823 — Vulnerability in egroupware/egroupware — CVE Details
EGroupware has a Remote Code Execution Vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.98%). Schedule for your next planned update.
Does your project use an affected egroupware/egroupware version?
Paste your composer.lock to check it for CVE-2026-27823 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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:
{
"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/)
Advisory Timeline
- First published July 7, 2026 (142 days ago).
- Last revised September 10, 2026 — 65 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "egroupware/egroupware:^26.2.20260224"
composer require "egroupware/egroupware:^23.1.20260224"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| egroupware/egroupware Packagist · Affected: 26.0.20251208, 26.0.20251216, 26.0.20260108, 26.0.20260113 (+6 more) | 26.2.20260224 |
| egroupware/egroupware Packagist · Affected: 14.2.20150121, 14.2.20150206, 14.2.20150210, 14.2.20150212 (+180 more) | 23.1.20260224 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
References
Frequently Asked Questions
- What is CVE-2026-27823?
- EGroupware has a Remote Code Execution Vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-27823?
- CVE-2026-27823 affects egroupware/egroupware. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27823 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 60.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-63412CRITICAL
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2026-63413CRITICAL
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2010-3313HIGH
EGroupware Code Injection vulnerability
- CVE-2026-22243HIGH
EGroupware has SQL Injection in Nextmatch Filter Processing