CVE-2026-126062: JRuby · NONET is bypassed for external DTDs and entities when the systemId uses a short-form IPv4 host
Affects nokogiriSource GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 1.19.5 when convenient.
Data as of 10 Nov 2026, 21:07 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 10 Nov 2026.
What to do
Upgrade nokogiri to 1.19.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsnokogiri | 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, which includes the fix for this vulnerability. Alternatively, avoid enabling the DTDLOAD, DTDVALID, or NOENT parse options when processing untrusted XML input. No other mitigation is required as the default parse options are not affected.
Description
A vulnerability in JRuby's XML parsing allows the NONET option to be bypassed for external DTDs and entities when the system identifier uses a short-form IPv4 host or an absolute path in documents parsed from network URLs. This can cause network requests to be sent when parsing untrusted XML with certain options enabled, potentially enabling SSRF. The issue affects Nokogiri versions prior to 1.19.5 and is rated low severity. The vulnerability is fixed in Nokogiri 1.19.5.
References
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm (opens in a new tab)
- github.com/sparklemotion/nokogiri/pull/3752 (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/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-v995-44v6-5fqm.yml (opens in a new tab)
- github.com/sparklemotion/nokogiri (opens in a new tab)
- github.com/sparklemotion/nokogiri/releases/tag/v1.19.5 (opens in a new tab)