CVE-2026-81726: NLTK through 3.10.3 Path Traversal via Model-Artifact APIs

Published Aug 27, 2026
·
Updated

NLTK through 3.10.3 contains a path traversal vulnerability in model-artifact APIs that bypass pathsec enforcement by using raw file operations on caller-controlled paths. Attackers can read or write files outside allowed sandbox roots through TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs when pathsec is enabled.

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
  2. Configuration

    Disable pathsec or otherwise prevent use of the model-artifact APIs pathsec-bypass behavior by ensuring model-artifact raw file operations cannot be performed on caller-controlled paths.

    NLTK model-artifact APIs pathsec = enabled

Event History

Aug 27, 2026
CVE Published
via MITRE·02:51 PM
Data Sourced
via MITRE·02:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:21 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are realistically exposed to this issue?

Applications using NLTK through 3.10.3 are exposed when they enable pathsec and pass attacker-controlled paths to the affected model-artifact APIs: TransitionParser, AveragedPerceptron, PerceptronTagger, or maxent parameter APIs.

2

What does an attacker need to exploit the vulnerability?

An attacker needs a way to influence a file path supplied to one of the affected APIs. No privileges or user interaction are required according to the provided vector, but exploitation has high attack complexity.

3

Does enabling pathsec protect affected applications?

No. The issue specifically bypasses pathsec enforcement because the affected APIs use raw file operations on caller-controlled paths, allowing reads or writes outside configured sandbox roots.

4

How can I determine whether my application is affected?

Review whether it uses NLTK through 3.10.3, has pathsec enabled, and invokes the listed model-artifact APIs with paths derived from untrusted input. Such paths may permit access outside the intended sandbox root.

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