Skip to content
HighVulnerability

CVE-2026-120315: LobeHub Chat path traversal in writeTempFile() allows arbitrary file writes

Identifier
CVE-2026-120315
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

LobeHub Chat from 1.84.26 before 2.1.49 contains a path traversal flaw in writeTempFile(), which fails to sanitize file names. Authenticated users can create a file record with a traversal name through file.createFile, then trigger document parsing to write arbitrary files. The source says this can overwrite application files such as startServer.js, enabling code execution or denial of service.

Mitigation

Fixed in 2.1.49.