EXPOSURES › CVE-2025-66567
CVE-2025-66567
CRITICALCVE-2025-66567 in ruby-saml allows authentication bypass via signature wrapping in versions up to 1.12.4, fixed in 1.18.0.
This authentication bypass vulnerability in the ruby-saml library enables attackers to forge SAML assertions, potentially granting unauthorized access to identity providers and downstream applications. DIB organizations must verify their SAML stack versions and patch to 1.18.0 immediately to prevent credential theft or session hijacking. The issue is not zero-day but is actively exploitable in unpatched environments.
Shame score — An incomplete fix for a prior vulnerability allowed attackers to bypass authentication controls, indicating poor patch management and security engineering.
▸ RECOMMENDED ACTION Critical severity — schedule patching of the affected products.
The ruby-saml library is for implementing the client side of a SAML authorization. ruby-saml versions up to and including 1.12.4 contain an authentication bypass vulnerability due to an incomplete fix for CVE-2025-25292. ReXML and Nokogiri parse XML differently, generating entirely different document structures from the same input. This allows an attacker to execute a Signature Wrapping attack. This issue is fixed in version 1.18.0.