# CVE-2026-58198: ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T22:08:08.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-wvrh-2f4m-924v
- Weaknesses: CWE-59, CWE-61, CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gunthercox ChatterBot: < 1.2.14
- chatterbot (PyPI): before 1.2.14

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v> (exploit, web)
- <https://github.com/gunthercox/ChatterBot/pull/2445>
- <https://github.com/gunthercox/ChatterBot/commit/82817b5c28bfd43e682b991bcc76e6f780726dbf>
- <https://github.com/gunthercox/ChatterBot/releases/tag/1.2.14>
- <https://github.com/gunthercox/ChatterBot> (package)

## Sources

- CVE List: [CVE-2026-58198](https://www.cve.org/CVERecord?id=CVE-2026-58198), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-wvrh-2f4m-924v](https://github.com/advisories/GHSA-wvrh-2f4m-924v), CC-BY-4.0, modified 2026-07-10
- NVD: [CVE-2026-58198](https://nvd.nist.gov/vuln/detail/CVE-2026-58198), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-58198 · Whole record: https://cve.day/CVE-2026-58198.json · Rebuilt by cve.day 2026-11-25T22:59:27.545Z
