Skip to main content
← All vulnerabilities
CVE-2025-66567GHSA-9V8J-X534-2FX3

ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • SAML-Toolkits ruby-saml

    fixed in 1.18.0

  • ruby-samlRubyGems

    fixed in 1.18.0

References 3

GitHub · SAML-Toolkits/ruby-saml

GitHub Advisory Database