All vulnerabilities

npm

CVE-2026-120315

LobeHub Chat 1.84.26 before 2.1.49 Path Traversal RCE via writeTempFile

Severity
High 8.7
Published
2 Nov 2026
Last changed
6 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.1.49
Exploit chance
0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
@lobehub/chatnpm · osv:npm:@lobehub/chat
  • From 1.84.26 before 2.1.49

About @lobehub/chat

Weekly downloads (npm)
14,203npm, 24 Nov 2026

This is the only vulnerability in @lobehub/chat in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120315