Is ruby-saml 1.1 vulnerable?

RubyGems · 3 releases from 1.1.0 to 1.1.2 · latest ruby-saml is 1.18.1 · checked 18 Nov 2026

Yes: 9 known advisories

Yes. ruby-saml 1.1.2, the last 1.1 release, is affected by 9 known security advisories (5 critical, 3 high, 1 medium), including CVE-2025-66568, CVE-2025-66567, CVE-2025-25292. Upgrade to 1.18.1 or later to fix all of them.

Upgrade with:bundle update --conservative ruby-saml # Gemfile: '>= 1.18.1'

Is your project on an affected ruby-saml?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting ruby-saml 1.1.2

  • CriticalCVE-2025-66568GHSA-x4h9-gwv3-r4m48 Dec 2025

    Ruby-saml allows a Libxml2 Canonicalization error to bypass Digest/Signature validation

    Affected
    <1.18.0
    Fixed in
    1.18.0
  • CriticalCVE-2025-66567GHSA-9v8j-x534-2fx38 Dec 2025

    Ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)

    Affected
    <1.18.0
    Fixed in
    1.18.0
  • MediumCVE-2025-54572GHSA-rrqh-93c8-j96630 Jul 2025

    Ruby SAML DOS vulnerability with large SAML response

    Affected
    <1.18.1
    Fixed in
    1.18.1
  • CriticalCVE-2025-25292GHSA-754f-8gm6-c4r212 Mar 2025

    Ruby SAML allows a SAML authentication bypass due to namespace handling (parser differential)

    Affected
    >=1.13.0 <1.18.0 · <1.12.4
    Fixed in
    1.12.4, 1.18.0
  • CriticalCVE-2025-25291GHSA-4vc4-m8qh-g8jm12 Mar 2025

    Ruby SAML allows a SAML authentication bypass due to DOCTYPE handling (parser differential)

    Affected
    <1.12.4 · >=1.13.0 <1.18.0
    Fixed in
    1.12.4, 1.18.0
  • HighCVE-2025-25293GHSA-92rq-c8cf-prrq12 Mar 2025

    Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses

    Affected
    <1.12.4 · >=1.13.0 <1.18.0
    Fixed in
    1.12.4, 1.18.0
  • CriticalCVE-2024-45409GHSA-jw9c-mfg7-9rx210 Sept 2024

    SAML authentication bypass via Incorrect XPath selector

    Affected
    <1.12.3 · >=1.13.0 <1.17.0
    Fixed in
    1.12.3, 1.17.0
  • HighCVE-2017-11428GHSA-x2fr-v8wf-8wwv5 Jul 2019

    Ruby-SAML Improper Authentication vulnerability

    Affected
    <1.7.0
    Fixed in
    1.7.0
  • HighCVE-2016-5697GHSA-36p7-xjw8-h6f221 Aug 2018

    Ruby-saml allows attackers to perform XML signature wrapping attacks

    Affected
    <1.3.0
    Fixed in
    1.3.0

Every ruby-saml 1.1.x release

Affected: 1.1.0 to 1.1.2. Latest ruby-saml: 1.18.1.

VersionKnown advisories
ruby-saml 1.1.2CVE-2025-66568, CVE-2025-66567, CVE-2025-54572, CVE-2025-25292, CVE-2025-25291, CVE-2025-25293, CVE-2024-45409, CVE-2017-11428, CVE-2016-5697
ruby-saml 1.1.1CVE-2025-66568, CVE-2025-66567, CVE-2025-54572, CVE-2025-25292, CVE-2025-25291, CVE-2025-25293, CVE-2024-45409, CVE-2017-11428, CVE-2016-5697
ruby-saml 1.1.0CVE-2025-66568, CVE-2025-66567, CVE-2025-54572, CVE-2025-25292, CVE-2025-25291, CVE-2025-25293, CVE-2024-45409, CVE-2017-11428, CVE-2016-5697

Which of your client projects are still on ruby-saml 1.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact ruby-saml version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other ruby-saml versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.