CVE-2026-79772
6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Summary
Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| sparklemotion | nokogiri | 1.5.1 < 1.19.1 | affected |
| sparklemotion | nokogiri | 1.19.1 | unaffected |
Weaknesses
- CWE-252: Unchecked Return Value
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532
- https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.