Skip to content
MediumVulnerability

CVE-2026-58198: ChatterBot UbuntuCorpusTrainer symlink attack during archive extraction

Identifier
CVE-2026-58198
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%

Summary

ChatterBot versions prior to 1.2.14 have a flaw in UbuntuCorpusTrainer.extract(), which writes to a predictable home-rooted directory (~/ubuntu_data/ubuntu_dialogs) using a check-then-create pattern before calling tar.extractall(path=self.data_path). A local attacker who pre-plants a symlink at that path can redirect extracted archive contents to an attacker-chosen directory.

Mitigation

Fixed in version 1.2.14.