Improper Neutralization of Special Elements in Output Used by a Downstream Component in Natural Language Toolkit - CVE-2026-129221
Published: November 17, 2026
Vulnerability details
The vulnerability allows a remote user to corrupt generated ARFF schemas and training data or disrupt classifier training.
The vulnerability exists due to missing ARFF quoting and escaping in Natural Language Toolkit's ARFF_Formatter.header_section() when embedding attacker-controlled class labels into nominal attribute declarations. A remote user can supply training labels containing }, newline characters, @ATTRIBUTE, @DATA, and % through WekaClassifier.train() or ARFF_Formatter.from_train() to escape the label list and inject schema and data directives.