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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ruby-saml | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ruby-saml | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | ruby-saml | < 1.18.0 | 1.18.0 | GHSA-9v8j-x534-2fx3 |
Advisories 1
- WID-SEC-2025-2764 Ruby SAML: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jan 25, 2026