{"id":"CVE-2026-58198","published":"2026-07-09T18:32:16Z","modified":"2026-07-09T19:12:29Z","title":"ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer","vendor":"gunthercox","product":"ChatterBot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00123,"percentile":0.00942,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gunthercox/ChatterBot/pull/2445","tags":["x_refsource_MISC"]},{"url":"https://github.com/gunthercox/ChatterBot/commit/82817b5c28bfd43e682b991bcc76e6f780726dbf","tags":["x_refsource_MISC"]},{"url":"https://github.com/gunthercox/ChatterBot/releases/tag/1.2.14","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":0.19},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"gunthercox","affectedVersions":[{"vendor":"gunthercox","product":"ChatterBot","versions":["< 1.2.14"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-09T19:12:08.575193Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-42685","exploited":false,"provenance":"source"}}