---
title: "SAML-Toolkits ruby-saml vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/samltoolkits/ruby-saml
type: product
description: "SAML-Toolkits ruby-saml has 10 published CVEs, 0 in CISA KEV and 5 with public exploits."
updated: 2025-12-09
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# SAML-Toolkits ruby-saml vulnerabilities

Vendor: [SAML-Toolkits](https://radicalnotion.ai/vendor/samltoolkits)

- **Published CVEs:** 10
- **In CISA KEV:** 0
- **With a public exploit:** 5
- **With a patch:** 10
- **Average CVSS:** 8.9
- **First CVE:** 2017-01-23
- **Latest CVE:** 2025-12-09
- **Ecosystems:** gem

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 7 |
| High | 2 |
| Medium | 1 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-347](https://radicalnotion.ai/cwe/cwe-347) | Improper Verification of Cryptographic Signature | 5 |
| [CWE-400](https://radicalnotion.ai/cwe/cwe-400) | Uncontrolled Resource Consumption | 2 |
| [CWE-287](https://radicalnotion.ai/cwe/cwe-287) | Improper Authentication | 1 |
| [CWE-77](https://radicalnotion.ai/cwe/cwe-77) | Improper Neutralization of Special Elements used in a Command | 1 |
| [CWE-91](https://radicalnotion.ai/cwe/cwe-91) | XML Injection | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2017 | 1 |
| 2018 | 0 |
| 2019 | 1 |
| 2020 | 0 |
| 2021 | 0 |
| 2022 | 0 |
| 2023 | 1 |
| 2024 | 1 |
| 2025 | 6 |

## Affected versions (top 19 of 68)

| Version | Kind | CVEs |
| --- | --- | --- |
| 0.2.0 | exact | 5 |
| 0.2.1 | exact | 5 |
| 0.2.2 | exact | 5 |
| 0.2.3 | exact | 5 |
| 0.3.0 | exact | 5 |
| 0.3.1 | exact | 5 |
| 0.3.2 | exact | 5 |
| 0.3.3 | exact | 5 |
| 0.3.4 | exact | 5 |
| 0.4.0 | exact | 5 |
| 0.4.1 | exact | 5 |
| 0.4.2 | exact | 5 |
| \< 1.12.4 | range | 3 |
| 1.13.0 \<= v \< 1.18.0 | range | 3 |
| \< 1.18.0 | range | 2 |
| \< 1.0.0 | range | 1 |
| \< 1.12.3 | range | 1 |
| \< 1.18.1 | range | 1 |
| 1.13.0 \<= v \< 1.17.0 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 1.18.0 | 5 |
| 1.12.4 | 3 |
| 1.0.0 | 1 |
| 1.12.3 | 1 |
| 1.17.0 | 1 |
| 1.18.1 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-66568 | ruby-saml Libxml2 Canonicalization errors can bypass Digest/Signature validation | critical | 9.3 | No | No | Yes |
| CVE-2025-66567 | ruby-saml has a SAML authentication bypass due to namespace handling (parser differential) | critical | 9.3 | No | No | Yes |
| CVE-2025-54572 | Ruby SAML DOS vulnerability with large SAML response | medium | 6.9 | No | No | Yes |
| CVE-2025-25292 | Ruby SAML vulnerable to SAML authentication bypass due to namespace handling (parser differential) | critical | 9.3 | No | Yes | Yes |
| CVE-2025-25291 | ruby-saml vulnerable to SAML authentication bypass due to DOCTYPE handling (parser differential) | critical | 9.3 | No | Yes | Yes |
| CVE-2025-25293 | ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses | high | 7.7 | No | Yes | Yes |
| CVE-2024-45409 | The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector | critical | 9.9 | No | Yes | Yes |
| CVE-2015-20108 | ruby-saml vulnerable to XPath injection | critical | 9.8 | No | No | Yes |
| CVE-2017-11428 | Multiple SAML libraries may allow authentication bypass via incorrect XML canonicalization and DOM traversal | critical | 9.8 | No | Yes | Yes |
| CVE-2016-5697 | Ruby-saml allows attackers to perform XML signature wrapping attacks | high | 7.5 | No | No | Yes |

## Frequently asked questions

### How many CVEs does SAML-Toolkits ruby-saml have?

SAML-Toolkits ruby-saml has 10 published CVE records since 2017.

### How many SAML-Toolkits ruby-saml CVEs are in CISA KEV?

None of SAML-Toolkits ruby-saml's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for SAML-Toolkits ruby-saml vulnerabilities?

Yes — 5 of SAML-Toolkits ruby-saml's CVEs have a known public exploit.

### Which versions of SAML-Toolkits ruby-saml are affected?

74 distinct SAML-Toolkits ruby-saml versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in SAML-Toolkits ruby-saml CVEs?

SAML-Toolkits ruby-saml's CVEs most often map to these CWE weakness types: CWE-347 (Improper Verification of Cryptographic Signature), CWE-400 (Uncontrolled Resource Consumption), CWE-287 (Improper Authentication), CWE-77 (Improper Neutralization of Special Elements used in a Command).

### How many critical SAML-Toolkits ruby-saml vulnerabilities are there?

SAML-Toolkits ruby-saml has 7 critical and 2 high-severity CVEs.

### What is the average severity of SAML-Toolkits ruby-saml CVEs?

The average CVSS base score across SAML-Toolkits ruby-saml's scored CVEs is 8.9.

## Other products from this vendor

- [omniauth-saml](https://radicalnotion.ai/vendor/samltoolkits/omniauth-saml) (1 CVEs)
- [python-saml](https://radicalnotion.ai/vendor/samltoolkits/python-saml) (1 CVEs)
- [wordpress-saml](https://radicalnotion.ai/vendor/samltoolkits/wordpress-saml) (1 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/samltoolkits/ruby-saml). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
