CVE-2026-81727
NLTK versions before 3.10.3 contain a filesystem containment bypass …
NLTK versions before 3.10.3 contain a filesystem containment bypass vulnerability in the Downloader.download and Downloader.incr_download methods that allows attackers to overwrite files outside the install root through pre-existing hardlinks. Attackers with write access to a shared downloader directory can create hardlinks pointing to outside-root files that are then overwritten during normal package extraction, mutating files outside the intended install tree.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nltk/nltk/security/advisories/GHSA-f794-5jv7-7672
- www.vulncheck.com/advisories/nltk-before-3.10.3-hardlink-file-overwrite-via-downloader
- nvd.nist.gov/vuln/detail/CVE-2026-81727
- github.com/nltk/nltk/pull/3797
- github.com/nltk/nltk/commit/9e6d5f05902b9aaa1221a0a565448d17a9c9b3e8
- github.com/nltk/nltk/releases/tag/v3.10.3
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3741.yaml
- github.com/advisories/GHSA-f794-5jv7-7672
- nvd.nist.gov/vuln/detail/CVE-2026-81727
- cve.org/CVERecord?id=CVE-2026-81727
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.