ADVISORIES

Vulnerability

CVE-2025-25291

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 fix the issue.

5 advisories report this vulnerability, across 3 ecosystems.

Critical severity All Debian 2Ubuntu 2RubyGems 1

Advisories

  • DEBIAN-CVE-2025-25291

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

    CVE-2025-25291 Debian Updated 1 September 2026
  • DLA-4115-1

    ruby-saml - security update

    CVE-2025-25291CVE-2025-25292CVE-2025-25293 Debian Updated 20 November 2026
  • GHSA-4vc4-m8qh-g8jm

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

    Critical CVE-2025-25291 RubyGems Updated 4 February 2026
  • UBUNTU-CVE-2025-25291

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

    CVE-2025-25291 Ubuntu Updated 4 February 2026
  • USN-7409-1

    ruby-saml vulnerabilities

    CVE-2025-25291CVE-2025-25292CVE-2025-25293 Ubuntu Updated 25 June 2026

References