CVE-2026-129221
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
- Severity
- medium CVSS 5.4 (v3.1)
- Affects
- nltk
- Weakness
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
- Published
- 19 November 2026 by GitHub_M
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, nltk.classify.weka.ARFF_Formatter writes attacker-controlled class labels into the Weka ARFF @ATTRIBUTE '-label-' declaration without safely formatting the label tokens. Crafted labels can alter the generated ARFF schema or records, corrupting classifier input and causing integrity loss or processing failure. This issue is fixed in version 3.10.4.
Our coverage
We have not written about this one. Know why it matters? Send a tip.