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.
Published: 2026-11-02
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Mon, 02 Nov 2026 02:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-02T02:01:13.641Z

Reserved: 2026-11-01T12:48:05.670Z

Link: CVE-2026-120315

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-02T03:17:29.457

Modified: 2026-11-02T03:17:29.457

Link: CVE-2026-120315

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T04:00:09Z

Weaknesses
  • CWE-22

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