CVE-2026-79772
MEDIUM 6.9CVSS 4.0Nokogiri does not check the return value from xmlC14NExecute
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.
- Published
- 25 Aug 2026
- Last modified
- 10 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-252
- Also known as
- GHSA-wx95-c6cv-8532
- Sources
- NVDJSONOSV GHSA-wx95-c6cv-8532JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nokogiri | nokogiricpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* |
>= 1.5.1, < 1.19.1 | 1.19.1 |
| OSV | RubyGems | nokogiri | >= 1.5.1, < 1.19.1 | 1.19.1 |
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532 · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-79772 · ADVISORY
- https://github.com/sparklemotion/nokogiri · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Feb 2026)