Nokogiri before 1.19.1 Unchecked Return Value canonicalize
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sparklemotion | nokogiri | 1.5.1 to before 1.19.1 | 1.19.1 | Patch available | CNA |
| — | nokogiri (RubyGems) | 1.5.1 to before 1.19.1 | 1.19.1 | Patch available | GHSA-wx95-c6cv-8532 |
- nokogiri Vendorsparklemotion Affected 1.5.1 to before 1.19.1 Fixed in 1.19.1 Patch available CNA
- nokogiri (RubyGems) Vendor— Affected 1.5.1 to before 1.19.1 Fixed in 1.19.1 Patch available GHSA-wx95-c6cv-8532
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* | 1.5.1 to before 1.19.1 | Vulnerable | sparklemotion |
- cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* Versions 1.5.1 to before 1.19.1 Vulnerable ·sparklemotion
Remediation
- Fix · CNA nokogiri (sparklemotion) Fixed in 1.19.1
- Fix · GHSA-wx95-c6cv-8532 nokogiri (RubyGems) Fixed in 1.19.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2026-79772
- 2026-10-03 Alias added: GHSA-wx95-c6cv-8532
References
More sparklemotion Nokogiri vulnerabilities
- TI-2022-11724 Improper Handling of Unexpected Data Type in Nokogiri CVSS 3.1HIGH 8.2
- TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
- TI-2019-03885 OS command injection in Nokogiri CVSS 3.1CRITICAL 9.8
- TI-2026-55247 Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer CVSS 4.0HIGH 8.7
- TI-2022-07536 Unchecked return value from xmlTextReaderExpand in Nokogiri CVSS 3.1HIGH 7.5
- TI-2022-08648 Inefficient Regular Expression Complexity in Nokogiri CVSS 3.1HIGH 7.5
Sources
- CVE-2026-79772 · CVE Program
- CVE-2026-79772 · NVD
- FIRST EPSS
- GHSA-wx95-c6cv-8532 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-79772 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences