GHSA-4vc4-m8qh-g8jmCriticalCVSS 9.8

Ruby SAML allows a SAML authentication bypass due to DOCTYPE handling (parser differential)

Published
March 12, 2025
Last Modified
November 3, 2025

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products2

  • rubygems/ruby-saml:< 1.12.4
  • rubygems/ruby-saml:>= 1.13.0, < 1.18.0

🔗 References (16)