{"schemaVersion":3,"id":"CVE-2026-63311","aliases":["GHSA-3gqm-fcw5-w839","PYSEC-2026-3723","UBUNTU-CVE-2026-63311","DEBIAN-CVE-2026-63311"],"status":"published","duplicateOf":null,"title":null,"description":"NLTK before 3.10.0 (affected versions <= 3.9.4) contains a server-side request forgery (SSRF) vulnerability in the validate_network_url() function in nltk/pathsec.py. The _resolve_hostname() helper catches OSError and ValueError during socket.getaddrinfo() and returns an empty list; when DNS resolution fails, the validation loop executes no IP checks and the function fails open, allowing urlopen() to proceed without validation. An attacker who can trigger DNS resolution failures or use DNS rebinding can bypass SSRF protections and reach restricted network resources, including cloud metadata endpoints (e.g., 169.254.169.254).","dates":{"published":"2026-08-22T14:12:40.063Z","modified":"2026-08-26T16:16:26.704Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00334,"percentile":0.25357,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.09300000000000003,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00241},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00334,"percentile":0.25357}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00334,"percentile":0.25357}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_NLTK_NLTK","name":"Nltk","source":"github","url":"https://github.com/nltk/nltk/security/advisories/GHSA-f8m6-h2c7-8h9x","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"debian","product":"nltk","name":"nltk","label":"nltk","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/nltk","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3.10.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3.10.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nltk","name":"nltk","label":"nltk","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nltk","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"nltk","product":"nltk","name":"nltk","label":"nltk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.10.0","eol":null,"hubHref":"/vendor/nltk/nltk"},{"vendor":"PyPI","product":"nltk","name":"nltk","label":"nltk","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/nltk","purlType":"pypi","versions":[{"text":"< 3.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.10.0","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-3gqm-fcw5-w839","label":"github.com/nltk/nltk/security/advisories/GHSA-3gqm-fcw5-w839","hostname":"github.com","tags":["Vendor Advisory","WEB","EVIDENCE","Exploit","Mitigation"]},{"url":"https://www.vulncheck.com/advisories/nltk-before-ssrf-via-dns-resolution-failure","label":"www.vulncheck.com/advisories/nltk-before-ssrf-via-dns-resolution-failure","hostname":"www.vulncheck.com","tags":["Third Party Advisory","WEB","Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63311","label":"nvd.nist.gov/vuln/detail/CVE-2026-63311","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/nltk/nltk/pull/3582","label":"github.com/nltk/nltk/pull/3582","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/nltk/nltk/commit/4a820afa58810cd05049b6c6eae306694d6cfe65","label":"github.com/nltk/nltk/commit/4a820afa58810cd05049b6c6eae306694d6cfe65","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/nltk/nltk","label":"github.com/nltk/nltk","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.0","label":"github.com/nltk/nltk/releases/tag/v3.10.0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3723.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3723.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-63311","label":"ubuntu.com/security/CVE-2026-63311","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-63311","label":"www.cve.org/CVERecord?id=CVE-2026-63311","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/nltk/nltk/security/advisories/ghsa-3gqm-fcw5-w839","label":"github.com/nltk/nltk/security/advisories/ghsa-3gqm-fcw5-w839","hostname":"github.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/cve-2026-63311","label":"security-tracker.debian.org/tracker/cve-2026-63311","hostname":"security-tracker.debian.org","tags":["REPORT"]},{"url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/63xxx/cve-2026-63311.json","label":"github.com/cveproject/cvelistv5/tree/main/cves/2026/63xxx/cve-2026-63311.json","hostname":"github.com","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2026-63311","label":"nvd.nist.gov/vuln/detail/cve-2026-63311","hostname":"nvd.nist.gov","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-63311","label":"security-tracker.debian.org/tracker/CVE-2026-63311","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0340"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-22T14:12:40.063Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-26T16:16:26.704Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:59:39.678Z","stale":false,"partial":false}}