NetSight
high5.9No CVE yet

GHSA-w5q8-6jpp-4246

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

Impact

## 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().

An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.

Affected packages

EcosystemPackageAffectedFixed in
pipnltk<= 3.10.2none recorded

Weakness classification

References