Skip to content

[GHSA-68j8-pq59-fqgm] NLTK has a Path Traversal issue - #9198

Open
antonisloukis wants to merge 1 commit into
antonisloukis/advisory-improvement-9198from
antonisloukis-GHSA-68j8-pq59-fqgm
Open

[GHSA-68j8-pq59-fqgm] NLTK has a Path Traversal issue#9198
antonisloukis wants to merge 1 commit into
antonisloukis/advisory-improvement-9198from
antonisloukis-GHSA-68j8-pq59-fqgm

Conversation

@antonisloukis

Copy link
Copy Markdown

Updates

  • Affected products
  • References

Comments
NLTK 3.9.3 contains the upstream fix for this path traversal vulnerability, but the advisory currently lists no patched version.

Upstream PR #3479, "Prevent path traversal & absolute-path access in CorpusReader.open() (CWE-22)", was merged as commit 603e34d25a2cad4612185ebfa6bc1c0dcfcfb2ab.

The official NLTK 3.9.3 ChangeLog explicitly lists:

"Block path traversal/abs paths in corpus readers and FS pointers (#3479, #3480)"

Therefore, the patched version should be recorded as 3.9.3. I have also added the upstream PR, fix commit, and 3.9.3 ChangeLog as supporting references.

@github-actions
github-actions Bot changed the base branch from main to antonisloukis/advisory-improvement-9198 August 24, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant