CVE-2025-25292: GHSL-2024-329_GHSL-2024-330: Authentication bypasses in ruby-saml - CVE-2025-25291, CVE-2025-25292
Summary An authentication bypass vulnerability was found in ruby-saml due to a parser differential. ReXML and Nokogiri parse XML differently, the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack.
Impact This issue may lead to authentication bypass.
Other sources
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently, the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 contain a patch for the issue.
— Debian
Two different authentication bypasses were found in ruby-saml:
— GitHub Security Lab
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-25292?
CVE-2025-25292 is considered a critical severity vulnerability due to its ability to allow authentication bypass in ruby-saml.
How do I fix CVE-2025-25292?
To fix CVE-2025-25292, users should upgrade ruby-saml to version 1.12.4 or version 1.18.0.
What software versions are affected by CVE-2025-25292?
CVE-2025-25292 affects ruby-saml versions prior to 1.12.4 and between 1.13.0 and 1.18.0.
What kind of attack can be executed due to CVE-2025-25292?
CVE-2025-25292 allows attackers to exploit an authentication bypass, potentially enabling unauthorized access to systems.
How was CVE-2025-25292 discovered?
CVE-2025-25292 was discovered due to differential behavior in XML parsing between ReXML and Nokogiri in ruby-saml.