CVE-2026-58198
MEDIUMChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v
X_Refsource_Misc x_refsource_misc
https://github.com/gunthercox/ChatterBot/pull/2445
X_Refsource_Misc x_refsource_misc
https://github.com/gunthercox/ChatterBot/commit/82817b5c28bfd43e682b991bcc76e6f780726dbf
X_Refsource_Misc x_refsource_misc
https://github.com/gunthercox/ChatterBot/releases/tag/1.2.14
Scores
CVSS v3
5.5
EPSS
0.0009
EPSS Percentile
0.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-367
CWE-59
Status
published
Products (1)
gunthercox/ChatterBot
< 1.2.14
Published
Jul 09, 2026
Tracked Since
Jul 10, 2026