Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lobehub | chat | 1.84.26 – < 2.1.49 | 2.1.49 |
References
- GitHub Security Advisory (GHSA-2g9j-v25c-4j97) vendor-advisory
- VulnCheck Advisory: LobeHub Chat 1.84.26 before 2.1.49 Path Traversal RCE via writeTempFile third-party-advisory