CVE-2025-59835: LangBot has a cross-directory file upload vulnerability, which could lead to system takeover
LangBot is a global IM bot platform designed for LLMs. In versions 4.1.0 up to but not including 4.3.5, authorized attackers can exploit the /api/v1/files/documents interface to perform arbitrary file uploads. Since this interface does not strictly restrict the storage directory of files on the server, it is possible to upload dangerous files to specific system directories. This is fixed in version 4.3.5.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-59835?
CVE-2025-59835 has a moderate severity level due to the potential for arbitrary file uploads.
How do I fix CVE-2025-59835?
To fix CVE-2025-59835, upgrade to version 4.3.5 or later of LangBot.
Which versions of LangBot are affected by CVE-2025-59835?
CVE-2025-59835 affects LangBot versions from 4.1.0 up to but not including 4.3.5.
What can an attacker do by exploiting CVE-2025-59835?
An attacker can exploit CVE-2025-59835 to perform unauthorized arbitrary file uploads.
Is the vulnerability CVE-2025-59835 specific to a particular interface?
Yes, CVE-2025-59835 is specifically linked to the /api/v1/files/documents interface.