# CVE-2026-126062: Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with \`NONET\` set

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-10 · Modified: 2026-11-12
- Aliases: GHSA-v995-44v6-5fqm, CGA-5g5w-h43h-pgrj, CGA-93v9-pxcx-6j7m, CGA-w3mf-wcmh-mf84, DEBIAN-CVE-2026-126062, CGA-3frj-m6qv-29x9, CGA-4v58-5xc3-488v, CGA-5989-qrx6-xw7j, CGA-mmmx-r784-2v34, CGA-2pmv-9fgm-25v3, CGA-2r9p-c4pj-8jp4, CGA-2xm3-cx86-w59p, CGA-494h-w2h6-c7q4, CGA-4hmf-2hqp-xmr9, CGA-4mpj-hvq7-5rvx, CGA-4w4m-g695-ccf3, CGA-59qv-f639-fh47, CGA-7jj6-mcr6-4598, CGA-7xhx-6xpj-7m47, CGA-8j98-cqhw-7w2w, CGA-ccwr-pw9g-m3mj, CGA-cq35-qcg8-549x, CGA-crwc-7w7f-4qj5, CGA-fcj8-7j3f-397g, CGA-gvfp-v967-m3vg, CGA-hrh9-jfg3-p762, CGA-jw33-5xfr-92j8, CGA-rqg3-p2rv-cr6v, CGA-rwgx-m7w5-35qf, CGA-vmf4-37v2-f6xh, CGA-wpqp-8fxf-3j7c, CGA-6v7j-vjhx-vgvq, CGA-258m-5vjj-hj75, CGA-2g34-vmxf-hwrh, CGA-2hj9-r288-hhxg, CGA-2wrf-3934-vf74, CGA-46jv-6cm9-qm47, CGA-5gvp-mpfq-4w3p, CGA-5whc-635g-5gq4, CGA-7g92-h7v6-874j, CGA-89fx-fgw5-89vm, CGA-9mq9-p8j4-rj2j, CGA-9xvm-9gjm-g9hh, CGA-gx94-4q22-6j4x, CGA-ppvj-648w-f36g, CGA-rq8v-ww8r-prq4, CGA-wwfr-m63m-2mpp, CGA-xww6-r6qp-gmx4, CGA-c2wq-vw54-vm8g, CGA-h489-3w68-cpf6, CGA-5597-7fcw-ww89, CGA-c34m-24fg-2hfq, CGA-c7hg-xw4h-mqwg, CGA-g877-88mm-p3qj, CGA-8584-wqhw-2295, UBUNTU-CVE-2026-126062, CGA-52fg-fq6h-r9h6, CGA-64h7-w79w-mq4v, CGA-668h-wx7v-w976, CGA-wgwc-78wq-j5m9, CGA-w456-98mj-hgwg, CGA-3468-5v48-gfp4, CGA-h6h6-r84w-j7vf, CGA-mmw9-4x4r-48mx, CGA-r39m-882h-gr8m, CGA-83w4-f8g5-3jmr, CGA-jmh7-v3r6-7jmp
- Record: https://cvemate.com/vulnerability/CVE-2026-126062 · JSON: https://cvemate.com/vulnerability/CVE-2026-126062/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.381%, percentile 34.181%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 45)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.19 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.19-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.19-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.3 (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.3-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.4 (Chainguard): All versions (No fix recorded) \| \< 9.4.9-r1
- chainguard logstash-9.4-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 9.4.9-r1
- chainguard logstash-9.5 (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r6

## References

- <https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm>
- <https://github.com/sparklemotion/nokogiri/pull/3752>
- <https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8>
- <https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac>
- <https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-v995-44v6-5fqm.yml>
- <https://github.com/sparklemotion/nokogiri>
- <https://security-tracker.debian.org/tracker/CVE-2026-126062>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126062.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126062>
- <https://ubuntu.com/security/CVE-2026-126062>
- <https://www.cve.org/CVERecord?id=CVE-2026-126062>

---

Data as of 2026-12-05T04:33:04.240Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
