CVE-2026-79772
Nokogiri before 1.19.1 Unchecked Return Value canonicalize
- State
- Published
- Severity
- 6.9 Medium
- Published
- Aug 25, 2026
- Updated
- Aug 28, 2026
- Reserved
- Aug 25, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | VulnCheck |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | VulnCheck |
Weaknesses
- CWE-252 Unchecked Return Value
Affected Products
| Product | Versions |
|---|---|
nokogirisparklemotion |
|
References
- GitHub Security Advisory (GHSA-wx95-c6cv-8532)vendor-advisory
- VulnCheck Advisory: Nokogiri before 1.19.1 Unchecked Return Value canonicalizethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.