CVE Explorer
CVE-2025-66568
The ruby-saml library implements the client side of an SAML authorization. Versions up to and including 1.12.4, are vulnerable to authentication bypass through the libxml2 canonicalization process used by Nokogiri for document transformation, which allows an attacker to execute a Signature Wrapping attack. When libxml2’s canonicalization is invoked on an invalid XML input, it may return an empty string rather than a canonicalized node. ruby-saml then proceeds to compute the DigestValue over this
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"ruby-saml","vendor":"SAML-Toolkits","versions":[{"status":"affected","version":"< 1.18.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:07d5efaa0ff3a33a874965e24487966ca3e365d35d588ac6cb0c3c6f582f68f1 · sha256:9afa6ca49f491cd1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.3,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:07d5efaa0ff3a33a874965e24487966ca3e365d35d588ac6cb0c3c6f582f68f1 · sha256:9afa6ca49f491cd1… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-347","description":"CWE-347: Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:07d5efaa0ff3a33a874965e24487966ca3e365d35d588ac6cb0c3c6f582f68f1 · sha256:9afa6ca49f491cd1… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a","tags":["x_refsource_MISC"],"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:07d5efaa0ff3a33a874965e24487966ca3e365d35d588ac6cb0c3c6f582f68f1 · sha256:9afa6ca49f491cd1… · /containers/cna/references/1
{"name":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-x4h9-gwv3-r4m4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-x4h9-gwv3-r4m4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:07d5efaa0ff3a33a874965e24487966ca3e365d35d588ac6cb0c3c6f582f68f1 · sha256:9afa6ca49f491cd1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.