# CVE-2026-120315: LobeHub Chat 1.84.26 before 2.1.49 Path Traversal RCE via writeTempFile

Status: published. Published: 2026-11-02. Updated: 2026-11-02.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- lobehub / chat (%40lobehub/chat): ≥ 1.84.26; < 2.1.49 (affected, semver); 2.1.49 (unaffected, semver). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 8.7 (high); 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; source: CNA: VulnCheck

- CVSS 3.1: 8.8 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-22

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/lobehub/lobehub/security/advisories/GHSA-2g9j-v25c-4j97 (CNA: VulnCheck; vendor-advisory)

- https://www.vulncheck.com/advisories/lobehub-chat-1.84.26-before-2.1.49-path-traversal-rce-via-writetempfile (CNA: VulnCheck; third-party-advisory)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2026-120315; retrieved 2026-11-02; source updated 2026-11-02

Revision: 62efce22100a148282cc487aa49028687d40bde6ec601f0b4378bac8e07e9674

Canonical: https://y2.dev/cve/CVE-2026-120315