# CVE-2025-66567: ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.18.0 (CNA); fix release not confirmed
- Status: published
- Published: 2025-12-09 · Modified: 2025-12-09
- Aliases: UBUNTU-CVE-2025-66567, GHSA-9v8j-x534-2fx3
- Record: https://cvemate.com/vulnerability/CVE-2025-66567 · JSON: https://cvemate.com/vulnerability/CVE-2025-66567/json

## Description

```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.
```

## Signals

- CVSS: 9.3 critical (v4.0, CVE.org) 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
- EPSS: 0.418%, percentile 38.107%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu ruby-saml (Ubuntu): All versions (No fix recorded)
- RubyGems ruby-saml (RubyGems): \< 1.18.0
- onelogin ruby-saml: \< 1.18.0
- saml-toolkits ruby-saml: \< 1.18.0

## References

- <https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-9v8j-x534-2fx3>
- <https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97>
- <https://github.com/advisories/GHSA-754f-8gm6-c4r2>
- <https://ubuntu.com/security/CVE-2025-66567>
- <https://www.cve.org/CVERecord?id=CVE-2025-66567>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66567>
- <https://github.com/SAML-Toolkits/ruby-saml>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-66567.yml>

---

Data as of 2026-12-05T03:52:10.711Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
