{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.84.26"
                  },
                  {
                    "fixed": "2.1.49"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.84.26"
                  },
                  {
                    "fixed": "2.1.49"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "95466ae3c1810e291ed4a690add84fba18a05afe"
            },
            {
              "fixed": "d47f4fec76f7a0f253934a37f06211cd9a3e67eb"
            }
          ],
          "repo": "https://github.com/lobehub/lobehub",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2g9j-v25c-4j97"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120315.json"
  },
  "details": "LobeHub Chat from 1.84.26 before 2.1.49 contains a path traversal vulnerability that allows authenticated users to write arbitrary files by supplying unsanitized file names to writeTempFile(). Attackers can create a file record via file.createFile with a traversal name, then trigger document parsing to overwrite application files like startServer.js for code execution or denial of service.",
  "id": "CVE-2026-120315",
  "modified": "2026-11-08T02:30:45.190410281Z",
  "published": "2026-11-02T02:01:13.641Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120315.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lobehub/lobehub/security/advisories/GHSA-2g9j-v25c-4j97"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120315"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/lobehub-chat-1.84.26-before-2.1.49-path-traversal-rce-via-writetempfile"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LobeHub Chat 1.84.26 before 2.1.49 Path Traversal RCE via writeTempFile"
}