CVE-2026-126062

Source
https://cve.org/CVERecord?id=CVE-2026-126062
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126062.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126062
Aliases
Downstream
AZL (1)
BELL (1)
CGA (82)
DEBIAN (1)
DHI (1)
MINI (1)
UBUNTU (1)
Published
2026-11-10T20:11:46Z
Modified
2026-11-14T07:04:09Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-611",
        "CWE-918"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126062.json"
}
References

Affected packages

Git / github.com/sparklemotion/nokogiri

Affected ranges

Type
GIT
Repo
https://github.com/sparklemotion/nokogiri
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.19.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "97f41b65f4ee0cac859b87f0b26d2648c4806cb8"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "e448ca2827a9198644610fb730259e12baacdeac"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.19.5",
            "range":  [
                {
                    "fixed":  "724ef475332fb7378111e8e30d14eda6cdf33b1e"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.7.0.1-linux-binary1
REL_1.*
REL_1.0.0
REL_1.0.1
REL_1.0.2
REL_1.0.3
REL_1.0.4
REL_1.0.5
REL_1.0.6
REL_1.0.7
REL_1.5.0.beta.1
REL_1.5.0.beta.2
v1.*
v1.10.0
v1.10.0.rc1
v1.10.1
v1.10.2
v1.10.3
v1.11.0
v1.11.0.rc1
v1.11.0.rc2
v1.11.0.rc3
v1.11.0.rc4
v1.11.1
v1.11.2
v1.11.3
v1.12.0
v1.12.0.rc1
v1.12.1
v1.12.2
v1.12.3
v1.13.0
v1.14.0
v1.14.0.rc1
v1.14.1
v1.15.0
v1.15.1
v1.15.2
v1.16.0
v1.16.0.rc1
v1.17.0
v1.18.0
v1.18.0.rc1
v1.18.1
v1.18.10
v1.18.2
v1.18.3
v1.18.4
v1.18.5
v1.18.6
v1.18.7
v1.18.8
v1.18.9
v1.19.0
v1.19.1
v1.19.2
v1.19.3
v1.19.4
v1.5.0
v1.5.0.beta.3
v1.5.0.beta.4
v1.5.1
v1.5.1.rc1
v1.5.2
v1.5.3
v1.5.3.rc1
v1.5.3.rc3
v1.5.3.rc4
v1.5.3.rc5
v1.5.3.rc6
v1.5.4.rc1
v1.5.4.rc2
v1.5.4.rc3
v1.5.5.rc1
v1.5.5.rc2
v1.5.6
v1.5.6.rc2
v1.5.7
v1.5.7.rc1
v1.5.7.rc2
v1.5.7.rc3
v1.5.8
v1.5.9
v1.6.0
v1.6.0.rc1
v1.6.2
v1.6.2.1
v1.6.2.beta.1
v1.6.2.rc1
v1.6.2.rc3
v1.6.3
v1.6.3.1
v1.6.3.rc1
v1.6.3.rc2
v1.6.3.rc3
v1.6.4
v1.6.5
v1.6.6
v1.6.6.1
v1.6.6.2
v1.6.7.rc1
v1.6.7.rc2
v1.6.7.rc3
v1.6.7.rc4
v1.6.8
v1.6.8.rc1
v1.6.8.rc2
v1.6.8.rc3
v1.7.0
v1.7.0.1
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.9.0
v1.9.0.rc1
v1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126062.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "206403405518429768710450672292958461578",
                "127762840433231181124071255919055614206",
                "17698726176990286526603632900360063453",
                "224471529552110598828844013947765180756",
                "230171215802684097352459613566489416812",
                "216448801263550119580005337500859778853",
                "297361602217657273045809280346271509238",
                "264388160249701086449747444921910491217",
                "24573553179144620598833878412109465126",
                "68371163122554385541276592567910758868",
                "59196695582117412263148996517889467883",
                "269408323994059064452031293393401295710",
                "102583974023854243841342976234659234758",
                "179829184944295988391179969723173859900",
                "145679428069333980683517764583695544705",
                "307831531719849531800645848065127454860",
                "303515004347906924505299145416458362395"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-126062-061c734f",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8",
        "target":  {
            "file":  "ext/java/nokogiri/internals/NokogiriEntityResolver.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "87669753519556574106443406136932394205",
            "length":  1280
        },
        "id":  "CVE-2026-126062-2cd259ea",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8",
        "target":  {
            "file":  "ext/java/nokogiri/internals/NokogiriEntityResolver.java",
            "function":  "resolveEntity"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "87669753519556574106443406136932394205",
            "length":  1280
        },
        "id":  "CVE-2026-126062-2d2411ec",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac",
        "target":  {
            "file":  "ext/java/nokogiri/internals/NokogiriEntityResolver.java",
            "function":  "resolveEntity"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "238562653988649352447756505946234581319",
                "45252564517206239773485972778313810770",
                "188356804033648070786103264718899669649",
                "79984658733898305546881193922517031272",
                "215883133251709278144941593310085867619",
                "84463414776074546760371942315129460050",
                "260247655904375232543089158599824607628",
                "96217337687743502715785957564397605017",
                "1146437414300747579796650818429973946",
                "149264228477374696799277055080659189705",
                "291571345998602450472482029965676246677",
                "244735378492664363491289094901912661891",
                "264410827475188112449620403187551163570",
                "117796843948891164808813574056116396565",
                "174928273503448462075355068102487731974",
                "283889411250682308176377893586291926139",
                "239665507359422121615300330761110526996",
                "288686551199935761986793166583252917900",
                "253818737072097855340588229160319908552",
                "292600590379334707280135557276773502506",
                "20541338054276994857968222965976747688",
                "115268715111804064656984258244860739037",
                "117652129044668564879643406744748775733",
                "22108307010220202950485611389204967243",
                "17698532000818044042476071565176135329",
                "283452291431074558279754994906636230702",
                "239165417984906778831697560630724585235",
                "49672731619250365002595266664025280983",
                "251379111272040905297360824484945429624",
                "81943000686070659668933518250808337336",
                "102356314008368206084249470915393338960",
                "219192614360472906137076069407626136300",
                "229792296522835663071639598308345226669",
                "329034728706408381594680869009763263442",
                "89429552811168105442822700439309594049",
                "149939878573234295099876090219706270680",
                "315136132542702538436572067896758109064",
                "308829740885639729398237644028388750052",
                "85969230924166096085721320636334408899",
                "277820471007917101934001765975289731447",
                "79472005944440453511315800371730240667",
                "191436709254148598752516501706059056924",
                "80431629366875909387926521687105975188",
                "174136094012838691868938351407987387785",
                "63226710146410758258810148746777420245",
                "60637854044044743895110198291706929235",
                "259741487002735709613766275820494028977",
                "259403110308717185410203696876712447995",
                "275599652128008130667648202786859767993",
                "105135349804760838859480469610730392589",
                "285926929084492494539672977234471052992",
                "85111510647877877592233850688959838129",
                "217012242330156821489631055817677578807"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-126062-558aaa63",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8",
        "target":  {
            "file":  "ext/java/nokogiri/XmlSchema.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "206403405518429768710450672292958461578",
                "127762840433231181124071255919055614206",
                "17698726176990286526603632900360063453",
                "224471529552110598828844013947765180756",
                "230171215802684097352459613566489416812",
                "216448801263550119580005337500859778853",
                "297361602217657273045809280346271509238",
                "264388160249701086449747444921910491217",
                "24573553179144620598833878412109465126",
                "68371163122554385541276592567910758868",
                "59196695582117412263148996517889467883",
                "269408323994059064452031293393401295710",
                "102583974023854243841342976234659234758",
                "179829184944295988391179969723173859900",
                "145679428069333980683517764583695544705",
                "307831531719849531800645848065127454860",
                "303515004347906924505299145416458362395"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-126062-82adb334",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac",
        "target":  {
            "file":  "ext/java/nokogiri/internals/NokogiriEntityResolver.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "24685357872654594148712556248727019",
                "50883265026974884332954264267997500088",
                "3435861750421497449298054511673831694",
                "47787939040065288471192569569036719292",
                "336813003725943997083179503686707167107",
                "71225527239857863598328782179199451151",
                "276358140234191410961942173574863046615"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-126062-8acf8775",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac",
        "target":  {
            "file":  "ext/java/nokogiri/internals/NokogiriHelpers.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "24685357872654594148712556248727019",
                "50883265026974884332954264267997500088",
                "3435861750421497449298054511673831694",
                "47787939040065288471192569569036719292",
                "336813003725943997083179503686707167107",
                "71225527239857863598328782179199451151",
                "276358140234191410961942173574863046615"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-126062-981c3706",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8",
        "target":  {
            "file":  "ext/java/nokogiri/internals/NokogiriHelpers.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "238562653988649352447756505946234581319",
                "45252564517206239773485972778313810770",
                "261420859284943300520462031009533969273",
                "205193452279061671971099334930296766278",
                "94770685257637493296249472372640361371",
                "336134198253009137727632442064705124461",
                "84463414776074546760371942315129460050",
                "260247655904375232543089158599824607628",
                "96217337687743502715785957564397605017",
                "1146437414300747579796650818429973946",
                "149264228477374696799277055080659189705",
                "291571345998602450472482029965676246677",
                "244735378492664363491289094901912661891",
                "264410827475188112449620403187551163570",
                "117796843948891164808813574056116396565",
                "174928273503448462075355068102487731974",
                "283889411250682308176377893586291926139",
                "239665507359422121615300330761110526996",
                "288686551199935761986793166583252917900",
                "253818737072097855340588229160319908552",
                "292600590379334707280135557276773502506",
                "20541338054276994857968222965976747688",
                "115268715111804064656984258244860739037",
                "117652129044668564879643406744748775733",
                "22108307010220202950485611389204967243",
                "17698532000818044042476071565176135329",
                "283452291431074558279754994906636230702",
                "239165417984906778831697560630724585235",
                "49672731619250365002595266664025280983",
                "251379111272040905297360824484945429624",
                "81943000686070659668933518250808337336",
                "102356314008368206084249470915393338960",
                "219192614360472906137076069407626136300",
                "229792296522835663071639598308345226669",
                "329034728706408381594680869009763263442",
                "89429552811168105442822700439309594049",
                "149939878573234295099876090219706270680",
                "315136132542702538436572067896758109064",
                "308829740885639729398237644028388750052",
                "85969230924166096085721320636334408899",
                "277820471007917101934001765975289731447",
                "79472005944440453511315800371730240667",
                "191436709254148598752516501706059056924",
                "80431629366875909387926521687105975188",
                "174136094012838691868938351407987387785",
                "63226710146410758258810148746777420245",
                "60637854044044743895110198291706929235",
                "259741487002735709613766275820494028977",
                "259403110308717185410203696876712447995",
                "275599652128008130667648202786859767993",
                "105135349804760838859480469610730392589",
                "235071850275114462375538049460164931962",
                "89327458005602036733911857609342459733",
                "95507494208294042211428287512053530016"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-126062-b7f86aad",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac",
        "target":  {
            "file":  "ext/java/nokogiri/XmlSchema.java"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:04:09Z"