A AegiFlow
HIGHCVSS 8.2

GHSA-w5q8-6jpp-4246

Duplicate Advisory: Corpus readers follow symlinks outside trusted roots despite pathsec enforcement

Published
2026-08-25
Modified
2026-09-02
Sources
github-advisory

Summary

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-p4rw-rvv2-7xwr. This link is maintained to preserve external references. ## Original Description NLTK versions before 3.10.3 contain a path traversal vulnerability in corpus readers that reopen root-derived paths using built-in open() instead of nltk.pathsec.open(), allowing symlinks to escape trusted roots. Attackers who stage symlinked corpus files under a trusted data root can disclose outside-root content through normal corpus reader methods like channels(), domains(), and synonyms().

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPInltk

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.