CVE-2026-79772Nokogiri
Medium 6.9 No auth needed
Follow: this CVE · Nokogiri · Nokogiri We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 25, 2026
- Updated
- Sep 1, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-252
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Nokogiri.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | nokogiri |
≥ 1.5.1 < 1.19.1 |
1.19.1 |
gem "nokogiri", ">= 1.19.1" |
Per OSV / GitHub Advisories (GHSA-wx95-c6cv-8532). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nokogiri | nokogiri | ≥ 1.5.1 < 1.19.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory