CVE-2025-66567: ruby-saml - Authentication Bypass
- Cve: CVE-2025-66567
- Name: ruby-saml - Authentication Bypass
- Description: The ruby-saml library is for implementing the client side of a SAML authorization. ruby-saml versions up to and including 1.12.4 contain an authentication bypass vulnerability due to an incomplete fix for CVE-2025-25292. ReXML and Nokogiri parse XML differently, generating entirely different document structures from the same input. This allows an attacker to execute a Signature Wrapping attack. This issue is fixed in version 1.18.0.
- Impact: Attackers can bypass authentication, potentially gaining unauthorized access to protected resources.
- Remediation: Upgrade to version 1.18.0 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00418
- Epss percentile: 0.36912
- Assignee: [email protected]
- Published at: 2025-12-09T16:18:21Z
- Age in days: 350
- Modified at: 2026-10-14T21:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66567
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| onelogin:ruby-saml | < 1.18.0 | no | nvd | /v1/products/onelogin/ruby-saml |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| SAML-Toolkits/ruby-saml | commit, fix, package, security_advisory | yes | /v1/repositories/SAML-Toolkits/ruby-saml |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts