ruby-saml Known Vulnerabilities & Fixes
ruby-saml has 10 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 1.18.1 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 1.18.1
Upgrading to 1.18.1 or later resolves all 10 known vulnerabilities in ruby-saml. Run: gem install ruby-saml -v 1.18.1
Is ruby-saml in your project?
Check if you're affected and upgrade to 1.18.1 to stay secure.
Security Summary
- 14 affected version ranges have been identified across these 10 advisories.
- 100% of known issues have a published fixed version.
- Remediation: gem update ruby-saml
Vulnerabilities
10 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Aug 21, 2018, most recently Dec 8, 2025 (2666 days apart).
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2025-25292 Ruby SAML allows a SAML authentication bypass due to namespace handling (parser differential) | CRITICAL | 1.13.0, 1.14.0, 1.15.0, 1.16.0 (+82 more) | 1.18.0, 1.12.4 |
| CVE-2025-25291 Ruby SAML allows a SAML authentication bypass due to DOCTYPE handling (parser differential) | CRITICAL | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+82 more) | 1.12.4, 1.18.0 |
| CVE-2024-45409 SAML authentication bypass via Incorrect XPath selector | CRITICAL | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+80 more) | 1.12.3, 1.17.0 |
| CVE-2025-66568 Ruby-saml allows a Libxml2 Canonicalization error to bypass Digest/Signature validation | CRITICAL | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+83 more) | 1.18.0 |
| CVE-2025-66567 Ruby-saml has a SAML authentication bypass due to namespace handling (parser differential) | CRITICAL | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+83 more) | 1.18.0 |
| CVE-2015-20108 ruby-saml vulnerable to XPath injection | CRITICAL | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+49 more) | 1.0.0 |
| CVE-2025-25293 Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses | HIGH | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+82 more) | 1.12.4, 1.18.0 |
| CVE-2017-11428 Ruby-SAML Improper Authentication vulnerability | HIGH | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+64 more) | 1.7.0 |
| CVE-2016-5697 Ruby-saml allows attackers to perform XML signature wrapping attacks | HIGH | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+54 more) | 1.3.0 |
| CVE-2025-54572 Ruby SAML DOS vulnerability with large SAML response | MEDIUM | 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+84 more) | 1.18.1 |
About This Data
Vulnerability data for ruby-saml is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related RubyGems (Ruby) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of ruby-saml.