ruby-saml vulnerabilities

SAML Ruby toolkit. Add SAML support to your Ruby software using this library

Registry
RubyGems
Latest
1.18.1
License
MIT

10 known advisories

The latest version, 1.18.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version: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

Security advisories for ruby-saml

  • 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
  • CriticalCVE-2015-20108GHSA-r364-2pj4-pf7f27 May 2023

    ruby-saml vulnerable to XPath injection

    Affected
    <1.0.0
    Fixed in
    1.0.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

Is your ruby-saml version vulnerable?

Which of your client projects still run an old ruby-saml?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.