CVE-2026-63672: EGroupware: User-Controlled Identity Provider Selection in SAML Authentication
Summary The login() function at line 130 passes the raw user-supplied value $REQUEST['idp'] directly to SimpleSAMLphp's requireAuth() with only a regex check that the string starts with 'https://'. No validation is performed against a list of configured, trusted IdP entity IDs. An unauthenticated attacker can supply any HTTPS URL pointing to an IdP they control.
Published Nov 17, 2026
Affected packages
egroupware/egroupware
- Ecosystem
- Composer (PHP)
- Affected
- < 23.1.20260601
- Fixed in
- 23.1.20260601
- Check
composer show egroupware/egroupware
egroupware/egroupware
- Ecosystem
- Composer (PHP)
- Affected
- >= 26.0.20251208, < 26.6.20260616
- Fixed in
- 26.6.20260616
- Check
composer show egroupware/egroupware
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The login() function at line 130 passes the raw user-supplied value $_REQUEST['idp'] directly to SimpleSAMLphp's requireAuth() with only a regex check that the string starts with 'https://'. No validation is performed against a list of configured, trusted IdP entity IDs. An unauthenticated attacker can supply any HTTPS URL pointing to an IdP they control.
PoC
//api/src/Auth/Saml.php
function login()
{
// login (redirects to IdP)
$as = new SimpleSAML\Auth\Simple(self::$auth_source);
$as->requireAuth(preg_match('|^https://|', $_REQUEST['idp']) ?
['saml:idp' => $_REQUEST['idp']] : []);
Impact
An attacker can redirect authentication to a malicious IdP to capture credentials via phishing, or, if the SimpleSAMLphp configuration does not strictly validate IdP metadata, issue forged SAML assertions to authenticate as any user, including administrators.
Remediation
Validate the idp request parameter against a pre-configured whitelist of trusted IdP entity IDs stored in the application's SAML configuration. Reject and log any idp value not explicitly present in the trusted list before calling requireAuth().
Credited to smitocaru.
References
- https://github.com/EGroupware/egroupware/security/advisories/GHSA-pr4x-6fj4-gm4h
- https://nvd.nist.gov/vuln/detail/CVE-2026-63672
- https://github.com/EGroupware/egroupware/commit/a87be9c177eaa9ac392f02fce45df833f638a7af
- https://github.com/EGroupware/egroupware/commit/ec78ff4336d796fbe7803b0a4ab16e8388a1f81c
- https://github.com/EGroupware/egroupware/releases/tag/23.1.20260601
- https://github.com/EGroupware/egroupware/releases/tag/26.6.20260616
- https://github.com/advisories/GHSA-pr4x-6fj4-gm4h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-27823
EGroupware has a Remote Code Execution Vulnerability
critical9.3Jul 7, 2026CVE-2026-40187
EGroupware has Authenticated RCE via Malicious eTemplate Upload
high8.6Jul 7, 2026CVE-2026-45016
EGroupware Vulnerable to Local File Inclusion via file:// URI in Mail Compose
medium6.5Jul 7, 2026CVE-2026-22243
EGroupware has SQL Injection in Nextmatch Filter Processing
high8.7Jan 28, 2026CVE-2024-40614
EGroupware mishandles an ORDER BY clause
high6.5Jul 7, 2024
