Ruby nokogiri: Prior to 1.19.5, on JRuby, applications that parse untrusted XML with DTDLOAD, DTDVALID, or NOENT can
Affects ruby-nokogiriSource GCVE Database
Not known to be exploited · CVSS 3.7 Low · fixed in 1.19.5 : update ruby-nokogiri when convenient.
Data as of 13 Nov 2026, 22:33 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.7 |
|---|
- Patch
- Available – fixed in 1.19.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Nokogiri to version 1.19.5 or later, where this issue is fixed. Avoid parsing untrusted XML with DTDLOAD, DTDVALID, or NOENT options on JRuby if upgrading is not immediately possible. No other vendor advisory mitigation instructions are provided.
Description
Nokogiri versions prior to 1.19.5 on JRuby have a vulnerability where parsing untrusted XML with certain options (DTDLOAD, DTDVALID, NOENT) can bypass the NONET restriction. This allows the XML resolver to treat certain external DTD or entity references as local and send network requests, potentially enabling server-side request forgery. This issue does not affect CRuby or default parse options and is fixed in version 1.19.5.
References
- ubuntu.com/security/CVE-2026-126062 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-126062 (opens in a new tab)
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm (opens in a new tab)
- github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8 (opens in a new tab)
- github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac (opens in a new tab)
- github.com/sparklemotion/nokogiri/pull/3752 (opens in a new tab)
- github.com/sparklemotion/nokogiri/releases/tag/v1.19.5 (opens in a new tab)