Skip to content
OpenAdvisories
Critical · 9.3 CVE-2025-66567 EUVD-2025-201812GHSA-9v8j-x534-2fx3

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

Published Dec 9, 2025 · Updated Dec 9, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
SAML-Toolkits ruby-saml < 1.18.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS ruby-saml No fix yet —
Ubuntu Pro 22.04 LTS ruby-saml No fix yet —
Ubuntu Pro 20.04 LTS ruby-saml No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS ruby-saml No fix yet —
Ubuntu Pro 16.04 LTS ruby-saml No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems ruby-saml < 1.18.0 1.18.0 GHSA-9v8j-x534-2fx3

Advisories 1

References