Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nltk
  4. ›
  5. CVE-2026-81727

CVE-2026-81727: NLTK: Downloader.download follows hardlinks and overwrites outside-root files

September 2, 2026

NLTK’s downloader now blocks symlink escapes during ZIP extraction, but it still treats pre-existing hardlinks inside the install tree as ordinary in-root files. A normal package install can therefore overwrite an outside-root inode through that hardlink.

References

  • github.com/advisories/GHSA-f794-5jv7-7672
  • github.com/nltk/nltk/commit/9e6d5f05902b9aaa1221a0a565448d17a9c9b3e8
  • github.com/nltk/nltk/pull/3797
  • github.com/nltk/nltk/releases/tag/v3.10.3
  • github.com/nltk/nltk/security/advisories/GHSA-f794-5jv7-7672
  • github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3741.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-81727
  • www.vulncheck.com/advisories/nltk-before-3.10.3-hardlink-file-overwrite-via-downloader

Code Behaviors & Features

Detect and mitigate CVE-2026-81727 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.10.3

Fixed versions

  • 3.10.3

Solution

Upgrade to version 3.10.3 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')
  • CWE-61: UNIX Symbolic Link (Symlink) Following
  • CWE-73: External Control of File Name or Path

Source file

pypi/nltk/CVE-2026-81727.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:22:07 +0000.