CVE-2026-58198

ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer

State
Published
Severity
5.5 Medium
Published
Jul 9, 2026
Updated
Jul 9, 2026
Reserved
Jun 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

Affected Products

ProductVersions
ChatterBotgunthercox
  • < 1.2.14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.