CVE-2026-58198

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.
Configurations

No configuration.

History

09 Jul 2026, 20:16

Type Values Removed Values Added
References () https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v - () https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v -

09 Jul 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-09 19:17

Updated : 2026-07-09 20:16


NVD link : CVE-2026-58198

Mitre link : CVE-2026-58198

CVE.ORG link : CVE-2026-58198


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition