CVE-2026-41670
Admidio: SAML Response Sent to Unvalidated Assertion Consumer Service URL from AuthnRequest
Admidio is an open-source user management solution. Prior to version 5.0.9, the SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL. This issue has been patched in version 5.0.9.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.2
Admidio: SAML Response Sent to Unvalidated Assertion Consumer Service URL from AuthnRequest
Admidio is an open-source user management solution. Prior to version 5.0.9, the SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL. This issue has been patched in version 5.0.9.
- Record
CVE-2026-41670- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - Weakness
- CWE-20, CWE-601
- Updated
- 2026-11-02
EUVDEUVD-2026-28281
8.2
Admidio is an open-source user management solution. Prior to version 5.0.9, the SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL. This issue has been patched in version 5.0.9.
- Record
EUVD-2026-28281- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-p9w9-87c8-m235
8.2
Admidio Sends SAML Response to Unvalidated Assertion Consumer Service URL from AuthnRequest
Summary
The SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL.
Details
The vulnerability is in src/SSO/Service/SAMLService.php, in handleSSORequest() at lines 439-465:
// Line 439: ACS URL extracted directly from the AuthnRequest (attacker-controlled)
$clientACS = $request->getAssertionConsumerServiceURL();
// ...
// Line 456: Used as the Destination of the SAML Response
$response->setDestination($clientACS);
// Lines 463-465: Also used as the Recipient in SubjectConfirmationData
$subjectConfirmationData = new \LightSaml\Model\Assertion\SubjectConfirmationData();
$subjectConfirmationData
->setRecipient($clientACS) // Required recipient URL
There is no code that compares $clientACS against the client's registered smc_acs_url column value. The SAML 2.0 specification and OASIS security considerations explicitly require IdPs to verify that the AssertionConsumerServiceURL matches one of the SP's registered ACS endpoints.
Signature validation is conditional and does not prevent this attack:
At lines 417-419:
if ($client->getValue('smc_require_auth_signed') || $client->getValue('smc_validate_signatures')) {
$this->validateSignature($client, $request, $client->getValue('smc_require_auth_signed'));
}
If neither smc_require_auth_signed nor smc_validate_signatures is enabled for the SP client (which is the default when creating a new client), the AuthnRequest is processed without any signature verification. This means an attacker only needs to know the SP's Entity ID (which is often publicly discoverable from the SP's metadata endpoint) to craft a malicious AuthnRequest.
Even when signatures ARE validated, the ACS URL should still be checked against the registered value, because:
- Signature validation proves the request came from the SP, not that the ACS URL is authorized
- If the SP's signing key is compromised, the ACS URL becomes the last line of defense
- This follows the defense-in-depth principle mandated by SAML 2.0 Profiles Section 4.1.4.1
The same pattern exists in the error response path at lines 323-326:
} elseif (method_exists($request, 'getAssertionConsumerServiceURL')) {
$response->setDestination($request->getAssertionConsumerServiceURL());
} else {
$response->setDestination($client->getValue('smc_acs_url'));
}
Attack flow:
- Attacker discovers the Entity ID of a SAML client registered in Admidio (e.g., from the SP's public metadata)
- Attacker crafts a SAML AuthnRequest with the legitimate Entity ID but an attacker-controlled
AssertionConsumerServiceURL - Attacker sends this AuthnRequest to Admidio's SSO endpoint (via redirect or auto-submitting form)
- If the user is already logged in to Admidio, the IdP generates a signed SAML response with the user's identity and attributes
- The SAML response is POST-binding-sent to the attacker's URL via an auto-submitting HTML form rendered in the victim's browser
- The attacker receives the signed SAML assertion containing login name, email, full name, roles, and other profile fields
- The attacker can replay this SAML assertion to the legitimate SP (since it is validly signed by the IdP)
PoC
# Step 1: Generate a malicious SAML AuthnRequest
# This is a base64-encoded SAML AuthnRequest with:
# - Issuer = the known Entity ID of a registered SP
# - AssertionConsumerServiceURL = attacker's server
#…
- Record
GHSA-p9w9-87c8-m235- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - Weakness
- CWE-20, CWE-601
- Updated
- 2026-11-02
NVD
8.2
Admidio is an open-source user management solution. Prior to version 5.0.9, the SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL. This issue has been patched in version 5.0.9.
- Record
CVE-2026-41670- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - Weakness
- CWE-20, CWE-601
- Updated
- 2026-11-02
OSV
8.2
Admidio: SAML Response Sent to Unvalidated Assertion Consumer Service URL from AuthnRequest
Admidio is an open-source user management solution. Prior to version 5.0.9, the SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL. This issue has been patched in version 5.0.9.
- Record
CVE-2026-41670- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - Weakness
- CWE-20, CWE-601
- Updated
- 2026-11-02
OSVGHSA-p9w9-87c8-m235
8.2
Admidio Sends SAML Response to Unvalidated Assertion Consumer Service URL from AuthnRequest
Summary
The SAML IdP implementation in Admidio's SSO module uses the AssertionConsumerServiceURL value directly from incoming SAML AuthnRequest messages as the destination for the SAML response, without validating it against the registered ACS URL (smc_acs_url) stored in the database for the corresponding service provider client. An attacker who knows the Entity ID of a registered SP client can craft a SAML AuthnRequest with an arbitrary AssertionConsumerServiceURL, causing the IdP to send the signed SAML response -- containing user identity attributes (login name, email, roles, profile fields) -- to an attacker-controlled URL.
Details
The vulnerability is in src/SSO/Service/SAMLService.php, in handleSSORequest() at lines 439-465:
// Line 439: ACS URL extracted directly from the AuthnRequest (attacker-controlled)
$clientACS = $request->getAssertionConsumerServiceURL();
// ...
// Line 456: Used as the Destination of the SAML Response
$response->setDestination($clientACS);
// Lines 463-465: Also used as the Recipient in SubjectConfirmationData
$subjectConfirmationData = new \LightSaml\Model\Assertion\SubjectConfirmationData();
$subjectConfirmationData
->setRecipient($clientACS) // Required recipient URL
There is no code that compares $clientACS against the client's registered smc_acs_url column value. The SAML 2.0 specification and OASIS security considerations explicitly require IdPs to verify that the AssertionConsumerServiceURL matches one of the SP's registered ACS endpoints.
Signature validation is conditional and does not prevent this attack:
At lines 417-419:
if ($client->getValue('smc_require_auth_signed') || $client->getValue('smc_validate_signatures')) {
$this->validateSignature($client, $request, $client->getValue('smc_require_auth_signed'));
}
If neither smc_require_auth_signed nor smc_validate_signatures is enabled for the SP client (which is the default when creating a new client), the AuthnRequest is processed without any signature verification. This means an attacker only needs to know the SP's Entity ID (which is often publicly discoverable from the SP's metadata endpoint) to craft a malicious AuthnRequest.
Even when signatures ARE validated, the ACS URL should still be checked against the registered value, because:
- Signature validation proves the request came from the SP, not that the ACS URL is authorized
- If the SP's signing key is compromised, the ACS URL becomes the last line of defense
- This follows the defense-in-depth principle mandated by SAML 2.0 Profiles Section 4.1.4.1
The same pattern exists in the error response path at lines 323-326:
} elseif (method_exists($request, 'getAssertionConsumerServiceURL')) {
$response->setDestination($request->getAssertionConsumerServiceURL());
} else {
$response->setDestination($client->getValue('smc_acs_url'));
}
Attack flow:
- Attacker discovers the Entity ID of a SAML client registered in Admidio (e.g., from the SP's public metadata)
- Attacker crafts a SAML AuthnRequest with the legitimate Entity ID but an attacker-controlled
AssertionConsumerServiceURL - Attacker sends this AuthnRequest to Admidio's SSO endpoint (via redirect or auto-submitting form)
- If the user is already logged in to Admidio, the IdP generates a signed SAML response with the user's identity and attributes
- The SAML response is POST-binding-sent to the attacker's URL via an auto-submitting HTML form rendered in the victim's browser
- The attacker receives the signed SAML assertion containing login name, email, full name, roles, and other profile fields
- The attacker can replay this SAML assertion to the legitimate SP (since it is validly signed by the IdP)
PoC
# Step 1: Generate a malicious SAML AuthnRequest
# This is a base64-encoded SAML AuthnRequest with:
# - Issuer = the known Entity ID of a registered SP
# - AssertionConsumerServiceURL = attacker's server
#…
- Record
GHSA-p9w9-87c8-m235- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - Weakness
- CWE-20, CWE-601
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
admidio/admidioPackagist |
through 5.0.8 | 5.0.9 |
admidio/admidioPackagist |
before 5.0.9, plus listed versions 4.1.04.1.3v4.2-Beta.1v4.2-Beta.2v4.2-Beta.3 Show 45 moreShow lessv4.2.0v4.2.1v4.2.10v4.2.11v4.2.12v4.2.13v4.2.14v4.2.2v4.2.3v4.2.4v4.2.5v4.2.6v4.2.7v4.2.8v4.2.9v4.3-Beta.1v4.3-Beta.3v4.3-Beta.4v4.3-Beta.5v4.3.0v4.3.1v4.3.10v4.3.11v4.3.12v4.3.13v4.3.14v4.3.15v4.3.16v4.3.17v4.3.2v4.3.3v4.3.4v4.3.5v4.3.6v4.3.7v4.3.8v4.3.9v5.0-Beta.1v5.0-Beta.2v5.0-Beta.3v5.0.0v5.0.1v5.0.2v5.0.3v5.0.4 |
5.0.9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-41670 is a high vulnerability (CVSS 8.2) in Admidio, published April 29, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.28%, the 20th percentile. Fixed in admidio/admidio 5.0.9.
References
Left out here: 4 versions and the rest of 2 source descriptions. The JSON record has them.