CVE-2026-18108
TIMLEGGE · Net::SAML2
Net::SAML2 fails to verify cryptographic signatures on encrypted SAML assertions, allowing unauthenticated attackers to bypass authentication and impersonate arbitrary users.
Executive summary
A critical authentication bypass vulnerability in TIMLEGGE Net::SAML2 allows unauthenticated remote attackers to impersonate any user by submitting unsigned, encrypted assertions.
Vulnerability
The library improperly verifies cryptographic signatures within encrypted SAML assertions. Because the validation logic fails to enforce signature checks on decrypted content, an unauthenticated attacker can craft and submit arbitrary assertions that the system will trust as valid.
Business impact
This vulnerability poses a severe risk to organizational security, as it facilitates complete authentication bypass. Successful exploitation allows unauthorized parties to gain full access to applications relying on this library, leading to potential data theft, unauthorized administrative actions, and total compromise of user accounts. The CVSS score of 9.8 reflects the high risk of full system compromise without requiring user interaction or prior credentials.
Remediation
Immediate Action: Upgrade to Net::SAML2 version 0.86 or later immediately. This version enforces strict signature validation, ensuring that only assertions chained to a trusted anchor are accepted.
Proactive Monitoring: Review authentication logs for anomalous login patterns or spikes in SAML response processing. Monitor for unexpected user account activity, particularly involving accounts with high-level privileges.
Compensating Controls: Ensure that SAML assertions are strictly validated at the Identity Provider (IdP) level and that all communication channels are secured with TLS. If immediate patching is not possible, evaluate if the application can be configured to disable the processing of encrypted assertions.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Given the critical nature of this authentication bypass, administrators must prioritize the deployment of the 0.86 patch. Failure to update permits unauthenticated attackers to bypass security boundaries, rendering existing authentication mechanisms ineffective.