SecurityContext

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

IdName
CWE-347Improper Verification of Cryptographic Signature

References

UrlSourceTags
https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97nvdPatch
https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-9v8j-x534-2fx3nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
onelogin:ruby-saml< 1.18.0nonvd/v1/products/onelogin/ruby-saml

Projects

RepositoryLink kindsIndexedUrl
SAML-Toolkits/ruby-samlcommit, fix, package, security_advisoryyes/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