RubyGems (Ruby)Worst: Critical10 advisories

ruby-saml: known vulnerabilities

ruby-saml has 10 reviewed security advisories in the GitHub Advisory Database — 6 critical, 3 high, 1 moderate. The most recent was published 2025-12-09. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the ruby-saml versions running across your servers, containers and images, and ranks what to patch first.

How to fix ruby-saml

Upgrade ruby-saml to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update ruby-saml to 1.18.0 (or gem install ruby-saml -v 1.18.0)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (10)

Ruby-saml has a SAML authentication bypass due to namespace handling (parser differential) Critical CWE-347 — Affected: before 1.18.0. Fixed in 1.18.0. Published 2025-12-09. GHSA-9v8j-x534-2fx3 · CVE-2025-66567
Ruby-saml allows a Libxml2 Canonicalization error to bypass Digest/Signature validation Critical CWE-347 — Affected: before 1.18.0. Fixed in 1.18.0. Published 2025-12-09. GHSA-x4h9-gwv3-r4m4 · CVE-2025-66568
Ruby SAML DOS vulnerability with large SAML response Moderate CWE-400 CWE-770 — Affected: before 1.18.1. Fixed in 1.18.1. Published 2025-07-30. GHSA-rrqh-93c8-j966 · CVE-2025-54572
Ruby SAML allows a SAML authentication bypass due to DOCTYPE handling (parser differential) Critical 9.8 CWE-347 CWE-436 — Affected: from 1.13.0 up to 1.18.0. Fixed in 1.18.0. Published 2025-03-12. GHSA-4vc4-m8qh-g8jm · CVE-2025-25291
Ruby SAML allows a SAML authentication bypass due to namespace handling (parser differential) Critical 9.8 CWE-347 CWE-436 — Affected: before 1.12.4. Fixed in 1.12.4. Published 2025-03-12. GHSA-754f-8gm6-c4r2 · CVE-2025-25292
Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses High 7.5 CWE-400 CWE-770 — Affected: from 1.13.0 up to 1.18.0. Fixed in 1.18.0. Published 2025-03-12. GHSA-92rq-c8cf-prrq · CVE-2025-25293
SAML authentication bypass via Incorrect XPath selector Critical 10.0 CWE-347 — Affected: from 1.13.0 up to 1.17.0. Fixed in 1.17.0. Published 2024-09-10. GHSA-jw9c-mfg7-9rx2 · CVE-2024-45409
ruby-saml vulnerable to XPath injection Critical 9.8 CWE-77 — Affected: before 1.0.0. Fixed in 1.0.0. Published 2023-05-27. GHSA-r364-2pj4-pf7f · CVE-2015-20108
Ruby-SAML Improper Authentication vulnerability High 7.7 CWE-287 — Affected: before 1.7.0. Fixed in 1.7.0. Published 2019-07-05. GHSA-x2fr-v8wf-8wwv · CVE-2017-11428
Ruby-saml allows attackers to perform XML signature wrapping attacks High 7.5 CWE-91 — Affected: before 1.3.0. Fixed in 1.3.0. Published 2018-08-21. GHSA-36p7-xjw8-h6f2 · CVE-2016-5697

Find ruby-saml across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.