CVE-2026-71513: NLTK 3.10.0 through 3.10.2 Remote Code Execution via AllowlistUnpickler Dotted-Name Bypass

Published Aug 22, 2026
·
Updated

NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle module string and not the global name, allowing attackers to resolve dotted names by attribute traversal to callables outside the allowlisted namespace. Attackers can craft untrusted transition-parser models that execute arbitrary commands when TransitionParser.parse loads the model through allowlistedpickleload.

Affected Software

1 affected component
NLTK Project NLTK>3.10.0<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

    Update TransitionParser.parse model loading so allowlisted_pickle_load/AllowlistUnpickler validates both the pickle module string and the full global name, preventing dotted-name bypass via attribute traversal to callables outside the allowlisted namespace.

    TransitionParser / allowlisted_pickle_load pickle loading via AllowlistUnpickler dotted-name validation = Only allow exact, fully-qualified allowlisted globals (no dotted-name/attribute traversal); reject non-allowlisted global names

Event History

Aug 22, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker must be able to supply or influence an untrusted transition-parser model that is later loaded by TransitionParser.parse. Exploitation occurs when the application loads that crafted model through allowlisted_pickle_load; the attacker does not need prior privileges, but user interaction is required according to the CVSS vector.

2

Are installations using NLTK 3.10.0 through 3.10.2 affected by default?

The affected behavior is present in NLTK versions 3.10.0 through 3.10.2, but exploitation specifically depends on loading an attacker-crafted transition-parser model. The provided information does not establish that a default installation loads untrusted models.

3

How can I determine whether an application is exposed?

Identify applications using NLTK before 3.10.3 and check whether they invoke TransitionParser.parse on model files obtained from users, external sources, shared storage, or other untrusted channels. Such model-loading paths are the relevant exposure point.

4

What should be done if upgrading is not immediately possible?

Do not load untrusted transition-parser model files through TransitionParser.parse. Restrict model sources to trusted, integrity-controlled files until NLTK can be updated to 3.10.3 or later.

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