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

CVE-2026-62385: NLTK: Stable FrameNet and NKJP readers parse outside-root XML

September 8, 2026

Published nltk==3.9.4 still contains several XML-reader entrypoints that build parser paths from caller-controlled selectors or trusted-looking index state without preserving the corpus-root boundary.

References

  • github.com/advisories/GHSA-568f-pv23-39p4
  • github.com/nltk/nltk/commit/7d1389d0789c1eca56bd0ed444089e0a3972e3ed
  • github.com/nltk/nltk/commit/bf3bf32786791394a1008258b4917a7f2d4dbcda
  • github.com/nltk/nltk/pull/3579
  • github.com/nltk/nltk/pull/3581
  • github.com/nltk/nltk/releases/tag/v3.10.0
  • github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4
  • github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3728.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-62385
  • www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readers

Code Behaviors & Features

Detect and mitigate CVE-2026-62385 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.0

Fixed versions

  • 3.10.0

Solution

Upgrade to version 3.10.0 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-706: Use of Incorrectly-Resolved Name or Reference
  • CWE-73: External Control of File Name or Path

Source file

pypi/nltk/CVE-2026-62385.yml

Spotted a mistake? Edit the file on GitLab.

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

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