Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/gunthercox/ChatterBot/commit/82817b5c28bfd43e682b991bcc76e6f7
- https://github.com/gunthercox/ChatterBot/pull/2445
- https://github.com/gunthercox/ChatterBot/releases/tag/1.2.14
- https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v
- https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v
FAQ
What is CVE-2026-58198?
CVE-2026-58198 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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/ubu...
How severe is CVE-2026-58198?
CVE-2026-58198 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-58198?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.