CVE-2025-66567
published critical CVSS 4.0 · 9.3ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SAML-Toolkits | — | ruby-saml< 1.18.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SAML-Toolkits | ruby-saml | < 1.18.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
3Provider assertions
2GitHub_M · cna
ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3e23c287204245fa3674e3655def4684c4c01790191246e4ccf4d19f3fcefd74
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record