CVE-2026-33230: Nltk Lexical Path Validation Symlink Bypass

Lexical path checks without resolution permit path traversal via symbolic links. An attacker can embed a symlink in a corpus archive pointing out of bounds, bypassing sandbox checks and reading arbitrary files. Use resolved paths and verify they strictly reside under the intended root.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-33230-nltk-lexical-path-validation-symlink-bypass --engine opengrep

Description

Lexical path checks without resolution permit path traversal via symbolic links. An attacker can embed a symlink in a corpus archive pointing out of bounds, bypassing sandbox checks and reading arbitrary files. Use resolved paths and verify they strictly reside under the intended root.