Path traversal in LobeHub Chat lets users write arbitrary files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
LobeHub Chat from 1.84.26 before 2.1.49 contains a path traversal flaw (CWE-22) in writeTempFile() because it does not sanitize file names. An authenticated user with low privileges can write arbitrary files over the network, including application files such as startServer.js, which can lead to code execution or denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update LobeHub Chat to version 2.1.49, the version that fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA chat (lobehub) Fixed in 2.1.49
Timeline
- 2026-11-02 Threatist record created from CVE-2026-120315
- 2026-11-02 Alias added: GHSA-7925-2fm7-xg83
- 2026-11-04 Priority changed: MEDIUM → LOW
- 2026-11-06 CISA SSVC decision points changed
- 2026-11-06 Priority changed: LOW → HIGH
References
More lobehub vulnerabilities
- TI-2026-39067 LobeHub: Unauthenticated SSRF in `/webapi/proxy` CVSS 3.1CRITICAL 9.0
- TI-2024-31448 Lobe Chat has insufficient fix for GHSA-mxhq-xw3g-rphc (CVE-2024-32964) CVSS 3.1CRITICAL 9.0
- TI-2024-21831 lobe-chat `/api/proxy` endpoint Server-Side Request Forgery vulnerability CVSS 3.1CRITICAL 9.0
- TI-2026-58746 LobeChat 2.2.1 Webhook Signature Verification Bypass QQ Feishu CVSS 4.0MEDIUM 6.9
- TI-2024-21832 ssrf vulnerability in lobe-chat CVSS 3.1HIGH 8.6
- TI-2026-42275 LobeChat < 2.2.10-canary.18 - SSRF via importFromUrl and fetchImageFromUrl CVSS 4.0HIGH 8.3
Sources
- CVE-2026-120315 · CVE Program
- CVE-2026-120315 · NVD
- FIRST EPSS
- GHSA-7925-2fm7-xg83 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences