CVE-2026-129221nltk
NVD
Vulnerability Summary
Summary `nltk.classify.weka.ARFF_Formatter` writes class labels directly into the Weka ARFF `@ATTRIBUTE '-label-' {...}` declaration without any ARFF quoting or escaping. An attacker who can contribute class labels to a training dataset can include ARFF metacharacters such as `}`, newlines, `@ATTRIBUTE`, and `@DATA` to break out of the nominal label list and inject attacker‑controlled ARFF schema and data directives. This vulnerability is reachable in any application that calls `WekaClassifier.train()` or `ARFF_Formatter.from_train()` with attacker‑influenced training data. The victim does not need to manually edit the ARFF file; the normal training workflow writes the malformed ARFF automatically.
CVSS v3.1 Base Metrics — Score 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- nltk <=3.10.3
- nltk 3.10.4
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run nltk and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 15, 2026Published
- Nov 15, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new nltk CVEsYou are reading CVE-2026-129221. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore nltk CVEs
External References
Data last checked: Nov 15, 2026 17:01 UTC