Home

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.

PUBLISHED Reserved 2026-06-29 | Published 2026-07-09 | Updated 2026-07-09 | Assigner GitHub_M




MEDIUM: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

CWE-59: Improper Link Resolution Before File Access ('Link Following')

Product status

< 1.2.14
affected

References

github.com/...terBot/security/advisories/GHSA-wvrh-2f4m-924v exploit

github.com/...terBot/security/advisories/GHSA-wvrh-2f4m-924v

github.com/gunthercox/ChatterBot/pull/2445

github.com/...ommit/82817b5c28bfd43e682b991bcc76e6f780726dbf

github.com/gunthercox/ChatterBot/releases/tag/1.2.14

cve.org (CVE-2026-58198)

nvd.nist.gov (CVE-2026-58198)

Download JSON