{"id":"CVE-2026-58198","summary":"ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer","details":"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.","aliases":["GHSA-wvrh-2f4m-924v"],"modified":"2026-07-15T01:49:21.762012176Z","published":"2026-07-09T18:32:16.074Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-367","CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58198.json"},"references":[{"type":"WEB","url":"https://github.com/gunthercox/ChatterBot/releases/tag/1.2.14"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58198.json"},{"type":"ADVISORY","url":"https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58198"},{"type":"FIX","url":"https://github.com/gunthercox/ChatterBot/commit/82817b5c28bfd43e682b991bcc76e6f780726dbf"},{"type":"FIX","url":"https://github.com/gunthercox/ChatterBot/pull/2445"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gunthercox/chatterbot","events":[{"introduced":"0"},{"fixed":"82817b5c28bfd43e682b991bcc76e6f780726dbf"},{"fixed":"2d909e2635785efdb95ea4429ac5ab94e0c28fb2"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.2.14"}]}}],"versions":["1.2.13","1.2.12","1.2.11","1.2.10","1.2.9","1.2.8","1.2.7","1.2.6","1.2.5","1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.0a7","1.0.6","1.1.0a6","1.1.0a5","1.1.0a4","1.1.0a3","1.1.0a2","1.1.0a1","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","1.0.0a4","1.0.0a3","1.0.0a2","1.0.0a1","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.3","0.6.2","0.6.1","0.6.0","0.5.5","0.5.4","0.5.3","0.5.2","0.5.1","0.5.0","0.4.14","0.4.13","0.4.12","0.4.11","0.4.10","0.4.9","0.4.8","0.4.7","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.3.7","0.3.6","0.3.5","0.3.4","0.3.3","0.3.2","0.3.1","0.3.0","0.2.9","0.2.8","0.2.7","0.2.6","0.2.5","0.2.4","0.2.3","0.2.2","0.2.1","0.2.0","0.1.1","0.1.0","0.0.5","0.0.4","0.0.3","0.0.2","0.0.1","0.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58198.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}