NLTK through 3.10.3 Path Traversal via Model-Artifact APIs
Impact
NLTK through version 3.10.3 has a path traversal vulnerability in model-artifact APIs, allowing attackers to read or write files outside allowed sandbox roots. This occurs when pathsec is enabled and attackers use TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs. Attackers must have access to these APIs to exploit the vulnerability.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
nltk · VulnCheck
nltk
2 ranges
nltk · VulnCheck
nltk
Package identity
pkg:pypi/nltkExplore nltk →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → through 3.10.3
semver versions
unaffected
3.10.4
semver versions
Other versions: unaffected
Original source description
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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-81726View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*Through (inclusive): 3.10.3
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*",
"versionEndIncluding": "3.10.3"
}
]
}
]
}
]Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.