{"id":"CVE-2025-66567","aliases":["CVE-2025-66567","GHSA-9v8j-x534-2fx3"],"related":[],"kind":"vulnerability","state":"published","title":"ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nRuby-saml up to and including 1.12.4, there is an authentication bypass vulnerability because of an incomplete fix for CVE-2025-25292. 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. The vulnerability does not affect the version 1.18.0.\n\n### Impact\nThat allows an attacker to be able to execute a Signature Wrapping attack and bypass the authentication","format":"markdown","source":"ghsa"},{"lang":"es","text":"La biblioteca ruby-saml es para implementar el lado del cliente de una autorización SAML. Las versiones de ruby-saml hasta la 1.12.4 inclusive contienen una vulnerabilidad de omisión de autenticación debido a una corrección incompleta para CVE-2025-25292. REXML y Nokogiri analizan XML de manera diferente, generando estructuras de documento completamente diferentes a partir de la misma entrada. Esto permite a un atacante ejecutar un ataque de Signature Wrapping. Este problema está corregido en la versión 1.18.0.","source":"nvd"}],"published":"2025-12-08T21:30:56.000Z","modified":"2026-10-14T21:10:00.183Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"version":"< 1.18.0","status":"affected"}],"vendor":"SAML-Toolkits","product":"ruby-saml","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.18.0"}],"ecosystem":"RubyGems","package":"ruby-saml","purl":"pkg:gem/ruby-saml","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.18.0"}],"vendor":"onelogin","product":"ruby-saml","cpe":"cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-9v8j-x534-2fx3","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-754f-8gm6-c4r2","tags":["advisory","not-applicable","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66567","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-66567.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-12-09T14:16:33.897Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66567","url":"https://www.cve.org/CVERecord?id=CVE-2025-66567","licence":"CVE Terms of Use","modified":"2025-12-09T16:02:57.270Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9v8j-x534-2fx3","url":"https://github.com/advisories/GHSA-9v8j-x534-2fx3","licence":"CC-BY-4.0","modified":"2026-02-04T02:32:35.929Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66567","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66567","licence":"Public domain","modified":"2026-10-14T21:10:00.183Z"}],"updatedAt":"2026-11-25T22:59:08.540Z","epss":{"score":0.00418,"percentile":0.38115,"date":"2026-12-01T12:00:22.000Z"}}