CVE-2025-25291: ruby-saml vulnerable to SAML authentication bypass due to DOCTYPE handling (parser differential)
SAML-Toolkits · ruby-saml
Vendor fix available · Affected: SAML-Toolkits ruby-saml · Exploitation: likely to be exploited (10% or more)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 97% of scored CVEs
DescriptionCVE.org
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- SAML-Toolkits · ruby-saml< 1.12.4; >= 1.13.0, < 1.18.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Likely to be exploited (10% or more). EPSS gives it a 10% or higher chance of exploitation in the next 30 days.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- SAML-Toolkits
- Published
- March 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-25291 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-347cwe.mitre.org
- github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-4vc4github.com
- github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-github.com
- github.com/SAML-Toolkits/ruby-saml/commit/e76c5b36bac40aedbf1ba7github.com
- github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585dgithub.com
- about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2about.gitlab.com
- github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authengithub.blog
- github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4github.com
- github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0github.com
- portswigger.net/research/saml-roulette-the-hacker-always-winsportswigger.net
- securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_rusecuritylab.github.com
- security.netapp.com/advisory/ntap-20250314-0010security.netapp.com
- news.ycombinator.com/item?id=43374519news.ycombinator.com
1 more reference is in the CVE record.