CVE-2026-120315

LobeHub Chat 1.84.26 before 2.1.49 Path Traversal RCE via writeTempFile

Published Nov 2, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A path traversal flaw in LobeHub Chat allows authenticated users to write arbitrary files by supplying unsanitized names to the writeTempFile() function. An attacker can create a file record with a traversal name, trigger document parsing, and overwrite critical application files such as startServer.js, leading to code execution or denial of service. The weakness is classified as CWE‑22.

Affected Systems

The vulnerability affects all installations of LobeHub Chat with versions ranging from 1.84.26 up to but not including 2.1.49. Any instance of the lobehub:chat product within this version window is susceptible.

Risk and Exploitability

The CVSS score of 8.7 reflects a high severity risk. EPSS data is not available, and the flaw is not listed in CISA’s KEV catalog, but the requirement of authenticated access means that compromised or insider accounts can exercise the exploit. Once the attacker writes malicious code to an application file, remote code execution is possible. The attack path is straightforward, involving creation of a traversal filename via file.createFile followed by document parsing. Given the high CVSS and the ease of exploitation, immediate action is warranted.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LobeHub Chat to version 2.1.49 or later to remove the writeTempFile path traversal flaw.
  • If upgrading is not immediately possible, restrict the use of writeTempFile to trusted users only and implement strict file‑name validation to reject traversal sequences before file creation.
  • Enable and monitor audit logging for file creation events, particularly those that involve path traversal patterns, to detect and respond to unauthorized file modifications.

Generated by OpenCVE AI on November 2, 2026 at 03:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lobehub
Lobehub lobe Chat
Vendors & Products Lobehub
Lobehub lobe Chat
Type Values Removed Values Added
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.
Title LobeHub Chat 1.84.26 before 2.1.49 Path Traversal RCE via writeTempFile
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 6, 2026, 7:18 PM
Reserved
Nov 1, 2026, 12:48 PM
Status
Deferred
Published
Nov 2, 2026, 3:17 AM
Modified
Nov 6, 2026, 8:17 PM