CVE-2026-126062
LOW 3.7CVSS 3.1JRuby: NONET is bypassed for external DTDs and entities when the systemId uses a short-form IPv4 host
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, on JRuby, applications that parse untrusted XML with DTDLOAD, DTDVALID, or NOENT can have the NONET restriction bypassed when an external DTD or entity uses a short-form IPv4 host or uses absolute paths resolved against a network URL. The resolver can treat these identifiers as local and send a network request, potentially enabling server-side request forgery. CRuby and default parse options are not affected. This issue is fixed in version 1.19.5.
- Published
- 10 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-611CWE-918
- Also known as
- GHSA-v995-44v6-5fqm
- Sources
- NVDJSONOSV GHSA-v995-44v6-5fqmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | nokogiri | < 1.19.5 | 1.19.5 |
References
- https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8 · WEB
- https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac · WEB
- https://github.com/sparklemotion/nokogiri/pull/3752 · WEB
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5 · WEB
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-v995-44v6-5fqm.yml · WEB
- https://github.com/sparklemotion/nokogiri · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 10 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 2026)