CVE-2026-79772 json
Nokogiri before 1.19.1 Unchecked Return Value canonicalize
published 2026-02-18 8 mo ago modified 2026-09-10 1 mo ago also GHSA-wx95-c6cv-8532 , EUVD-2026-65530
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
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.
Patch / fix
- rubygems nokogiri 1.19.1
- sparklemotion nokogiri 1.19.1
- ruby-nokogiri Debian 14 1.19.1+dfsg-1
debian advisories DEBIAN-CVE-2026-79772
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-79772 updated cvss 5.3
nokogiri: Nokogiri: Signature validation bypass via unchecked return value
-
Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel9, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9, 3scale-amp2/backend-rhel8, 3scale-amp2/toolbox-rhel9affected: no fix available, no fix planned “Out of support scope”
-
Red Hat Satellite 6 tfm-rubygem-graphqlaffected: no fix available “Fix deferred”
-
Red Hat Satellite 6 tfm-rubygem-amazing_printnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 4.0 | 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 |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | nokogiri | >=1.5.1, <1.19.1 |
1.19.1 |
Affected products
- sparklemotion nokogiri
Classification
- Weakness
-
- CWE-252 Unchecked Return Value
References
-
github.com
/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532
vendor-advisory, web
-
vulncheck.com
/advisories/nokogiri-before-unchecked-return-value-canonicalize
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-79772
advisory
-
github.com
/sparklemotion/nokogiri
package
Sources
- CVE List CVE-2026-79772
- GitHub Advisory GHSA-wx95-c6cv-8532
- NVD CVE-2026-79772
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.