{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.2.14"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "82817b5c28bfd43e682b991bcc76e6f780726dbf"
            },
            {
              "fixed": "2d909e2635785efdb95ea4429ac5ab94e0c28fb2"
            }
          ],
          "repo": "https://github.com/gunthercox/chatterbot",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wvrh-2f4m-924v"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-58198",
  "modified": "2026-07-15T01:49:21.762012176Z",
  "published": "2026-07-09T18:32:16.074Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer"
}