Skip to content
Heist/ feed
Back to feed
Medium

ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-58198
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:19 UTC · Revision 1

Source evidence

ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer

core-osv · Original source

Published 9 Jul 2026, 18:32 UTC

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.

osv:CVE-2026-58198
Complete source record
{
  "id": "371f2828a055a93f8d497d2f0b9fb91d5ed1a28d72ef93c15262d66d8d699c31",
  "url": "https://osv.dev/vulnerability/CVE-2026-58198",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer",
    "summary": "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.",
    "evidence": "osv:CVE-2026-58198",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-58198",
      "aliases": [
        "CVE-2026-58198",
        "GHSA-wvrh-2f4m-924v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gunthercox/chatterbot",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2d909e2635785efdb95ea4429ac5ab94e0c28fb2"
                },
                {
                  "fixed": "82817b5c28bfd43e682b991bcc76e6f780726dbf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.2.14"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "82817b5c28bfd43e682b991bcc76e6f780726dbf"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2d909e2635785efdb95ea4429ac5ab94e0c28fb2"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.780591192Z",
      "provider": "osv",
      "references": [
        "https://github.com/gunthercox/ChatterBot/releases/tag/1.2.14",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58198.json",
        "https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-wvrh-2f4m-924v",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-58198",
        "https://github.com/gunthercox/ChatterBot/commit/82817b5c28bfd43e682b991bcc76e6f780726dbf",
        "https://github.com/gunthercox/ChatterBot/pull/2445"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-367",
          "CWE-59"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58198.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-58198",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501093,
  "published_at": "2026-07-09T18:32:16.074+00:00"
}