CVE-2026-126304

Source
https://cve.org/CVERecord?id=CVE-2026-126304
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126304.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126304
Aliases
Downstream
Published
2026-11-13T09:36:23Z
Modified
2026-11-19T20:45:50Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader
Details

NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.

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

Affected packages

Git / github.com/nltk/nltk

Affected ranges

Type
GIT
Repo
https://github.com/nltk/nltk
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "3.10.0"
                },
                {
                    "fixed":  "3.10.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "3.10.0"
                },
                {
                    "fixed":  "3.10.4"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v.*
v.3.10.1
v3.*
v3.10.0
v3.10.0-rc2
v3.10.1
v3.10.1-rc1
v3.10.1-rc2
v3.10.2
v3.10.2-rc1
v3.10.3
v3.10.3-rc1
v3.10.4-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126304.json"