CVE-2026-58198CWE-367CWE-59

ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer

Medium · published July 9, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
1.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00123 · 1.9th percentile
Weaknesses
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition; CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-07-09T18:32Z
EPSS history
Timeline
  • 09 JUL 18:32Z
    ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer
    cvelistv5