CVE-2026-79676: NLTK before 3.10.3 Path Traversal via Symlink Bypass

Published Aug 25, 2026
·
Updated

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 Software

1 affected component
nltk nltk<3.10.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nltk to a version that resolves this vulnerability.

    Fixed in 3.10.3

Event History

Aug 25, 2026
CVE Published
via MITRE·03:16 PM
Data Sourced
via MITRE·03:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using NLTK versions before 3.10.3 are exposed when an attacker can place or stage symlinked corpus files beneath a trusted NLTK data root. The vulnerable behavior occurs in corpus readers that reopen root-derived paths.

2

What does an attacker need to exploit this issue?

The attacker needs the ability to stage symlinked corpus files under a trusted data root. No authentication or user interaction is required once those files are available to the affected corpus reader.

3

What information could be exposed?

An attacker can use symlinks that point outside the trusted root to disclose outside-root file contents through normal corpus reader methods, including channels(), domains(), and synonyms().

4

How can I determine whether my environment is affected?

Check whether NLTK is earlier than 3.10.3 and whether untrusted parties can create or influence corpus files or symlinks under a trusted NLTK data root. Review uses of affected corpus reader methods that may process those files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203