Launch Week Day 1: Announcing Security Design Review
CRITICAL 9.8 RubyGems

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

GHSA-4vc4-m8qh-g8jm · BIT-gitlab-2025-25291 · CVE-2025-25291

Published · Modified

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes