← Back to search

CVE-2026-120315

8.8 HIGHpublic exploit available

Published 2026-11-02 · Updated 2026-11-02

AI risk analysis

Summary
Authenticated users can exploit unsanitized file names in the writeTempFile() function to perform path traversal and write arbitrary files outside the intended directory, enabling remote code execution or denial of service by overwriting critical application files like startServer.js.
Exploitability
Exploitation requires valid authentication and knowledge of the vulnerable endpoint and file creation workflow, but is otherwise straightforward due to lack of input sanitization.
Blast radius
Successful exploitation allows full compromise of confidentiality, integrity, and availability via arbitrary code execution or service disruption on the affected server.
Detection
Monitor for file creation events outside expected directories (e.g., attempts to write to application root or system paths) and anomalous writes to sensitive files like startServer.js; inspect logs for file.createFile requests containing path traversal sequences such as '../' in the filename parameter.
Prioritized remediation
Upgrade to LobeHub Chat version 2.1.49 or later, where the path traversal vulnerability in writeTempFile() has been fixed.
path-traversalrceauth-bypasswebfile-write

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-22

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.