{"id":"CVE-2026-63672","aliases":["CVE-2026-63672","GHSA-pr4x-6fj4-gm4h"],"related":[],"kind":"vulnerability","state":"published","title":"EGroupware: User-Controlled Identity Provider Selection in SAML Authentication","summary":"EGroupware is a web-based groupware server written in PHP. Prior to 23.1.20260601 and 26.6.20260616, login() in api/src/Auth/Saml.php accepts the unauthenticated idp request parameter when it merely begins with the HTTPS scheme and passes it to SimpleSAMLphp's requireAuth() without checking the configured trusted identity providers. A malicious actor can redirect the sign-in flow to an attacker-controlled identity provider, enabling credential phishing and, when the SimpleSAMLphp deployment does not strictly validate identity-provider metadata, forged SAML assertions as arbitrary users, including administrators. This issue is fixed in versions 23.1.20260601 and 26.6.20260616.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"EGroupware is a web-based groupware server written in PHP. Prior to 23.1.20260601 and 26.6.20260616, login() in api/src/Auth/Saml.php accepts the unauthenticated idp request parameter when it merely begins with the HTTPS scheme and passes it to SimpleSAMLphp's requireAuth() without checking the configured trusted identity providers. A malicious actor can redirect the sign-in flow to an attacker-controlled identity provider, enabling credential phishing and, when the SimpleSAMLphp deployment does not strictly validate identity-provider metadata, forged SAML assertions as arbitrary users, including administrators. This issue is fixed in versions 23.1.20260601 and 26.6.20260616.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe 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.\n\n### PoC\n```php\n//api/src/Auth/Saml.php\nfunction login()\n\t{\n\t\t// login (redirects to IdP)\n\t\t$as = new SimpleSAML\\Auth\\Simple(self::$auth_source);\n\t\t$as->requireAuth(preg_match('|^https://|', $_REQUEST['idp']) ?\n\t\t\t['saml:idp' => $_REQUEST['idp']] : []);\n\n```\n\n### Impact\nAn 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.\n\n### Remediation\nValidate 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().","format":"markdown","source":"ghsa"}],"published":"2026-11-16T20:00:50.727Z","modified":"2026-11-17T21:00:04.050Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"< 23.1.20260601","status":"affected"},{"version":">= 26.0.20251208, < 26.6.20260616","status":"affected"}],"vendor":"EGroupware","product":"egroupware","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"23.1.20260601"}],"ecosystem":"Packagist","package":"egroupware/egroupware","purl":"pkg:composer/egroupware/egroupware","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"26.0.20251208","status":"affected","fixed":"26.6.20260616"}],"ecosystem":"Packagist","package":"egroupware/egroupware","purl":"pkg:composer/egroupware/egroupware","source":"ghsa"}],"references":[{"url":"https://github.com/EGroupware/egroupware/security/advisories/GHSA-pr4x-6fj4-gm4h","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/EGroupware/egroupware/commit/a87be9c177eaa9ac392f02fce45df833f638a7af","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/EGroupware/egroupware/commit/ec78ff4336d796fbe7803b0a4ab16e8388a1f81c","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/EGroupware/egroupware/releases/tag/23.1.20260601","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/EGroupware/egroupware/releases/tag/26.6.20260616","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63672","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/EGroupware/egroupware","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-17T16:02:58.278Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63672","url":"https://www.cve.org/CVERecord?id=CVE-2026-63672","licence":"CVE Terms of Use","modified":"2026-11-17T16:21:42.995Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pr4x-6fj4-gm4h","url":"https://github.com/advisories/GHSA-pr4x-6fj4-gm4h","licence":"CC-BY-4.0","modified":"2026-11-17T21:00:04.050Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63672","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63672","licence":"Public domain","modified":"2026-11-17T17:18:08.560Z"}],"updatedAt":"2026-11-25T22:59:50.924Z","epss":{"score":0.00264,"percentile":0.19601,"date":"2026-12-01T12:00:22.000Z"}}