Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-58198 EUVD-2026-42685GHSA-wvrh-2f4m-924v

ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer

Published Jul 9, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

Description

ChatterBot is a machine learning, conversational dialog engine for creating chat bots. Prior to 1.2.14, UbuntuCorpusTrainer.extract() uses a predictable home-rooted output directory (~/ubuntu_data/ubuntu_dialogs) with a check-then-create pattern followed by tar.extractall(path=self.data_path), allowing a local attacker who pre-plants a symlink at the predictable path to cause archive contents to be written through the symlink to an attacker-chosen directory. This issue is fixed in version 1.2.14.

Affected products

VendorProductAffectedFixed
gunthercox ChatterBot < 1.2.14 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI chatterbot < 1.2.14 1.2.14 GHSA-wvrh-2f4m-924v

References