{"action":"Upgrade ruby-saml to 1.12.4 or later.","affected":[{"fixed":"1.12.4","introduced":"0"},{"fixed":"1.18.0","introduced":"1.13.0"}],"component":"ruby-saml","cve_ids":["CVE-2025-25291"],"ecosystem":"RubyGems","epss":0.20965,"exploited":false,"fixed_versions":["1.12.4","1.18.0"],"ghsa_id":"GHSA-4vc4-m8qh-g8jm","id":"tcs_01M5KEGPV7F73ACD5P0FMXSQHN","modified_at":"2026-02-04T02:20:43.245011Z","published_at":"2025-03-12T20:20:24Z","references":["https://osv.dev/vulnerability/GHSA-4vc4-m8qh-g8jm","https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-4vc4-m8qh-g8jm","https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv","https://nvd.nist.gov/vuln/detail/CVE-2025-25291","https://github.com/SAML-Toolkits/ruby-saml/commit/e76c5b36bac40aedbf1ba7ffaaf495be63328cd9","https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97","https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials","https://github.com/SAML-Toolkits/ruby-saml","https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4","https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0","https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25291.yml","https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html","https://news.ycombinator.com/item?id=43374519","https://portswigger.net/research/saml-roulette-the-hacker-always-wins","https://security.netapp.com/advisory/ntap-20250314-0010","https://securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_ruby-saml"],"severity":{"label":"critical","score":9.8},"sources":[{"source":"osv","source_id":"GHSA-4vc4-m8qh-g8jm","url":"https://osv.dev/vulnerability/GHSA-4vc4-m8qh-g8jm"}],"summary":"Ruby SAML allows a SAML authentication bypass due to DOCTYPE handling (parser differential)"}