8.8
CWE
347 436
Advisory Published
Advisory Published
Updated

CVE-2025-25292: Ruby SAML vulnerable to SAML authentication bypass due to namespace handling (parser differential)

First published: Wed Mar 12 2025(Updated: )

### 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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
ruby-saml<1.12.4<1.18.0
rubygems/ruby-saml<1.12.4
1.12.4
rubygems/ruby-saml>=1.13.0<1.18.0
1.18.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203