CVE-2026-23835: @lobehub/chat LobeHub Vulnerable To Improper Authorization Vulnerability
MODERATECVE-2026-23835 is a MODERATE lobehub vulnerable to improper authorization vulnerability (CWE-73: External Control of File Name or Path) affecting @lobehub/chat libraries in the npm ecosystem. The issue involves lobehub vulnerable to improper authorization in presigned upload. Remediation is available by upgrading affected packages to version 1.143.3.
CVE-2026-23835 at a Glance
How to Fix CVE-2026-23835
To remediate this vulnerability, upgrade all affected @lobehub/chat dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @lobehub/chat@1.143.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @lobehub/chat
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-23835, inspect your project dependencies using npm:
npm ls @lobehub/chat
Analyze the terminal output to locate any version of @lobehub/chat in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.143.3), your application is affected.
Note: The npm ls @lobehub/chat command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In @lobehub/chat, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-23835 Affected @lobehub/chat Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@lobehub/chat
|
npm |
< 1.143.3
|
1.143.3
|
References
Frequently Asked Questions
What is CVE-2026-23835?
Which @lobehub/chat versions are affected?
What version fixes CVE-2026-23835?
Is @lobehub/chat affected?
What CWE is associated with CVE-2026-23835?
How can I check npm dependencies for CVE-2026-23835?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wrrr-8jcv-wjf5",
"modified" : "2026-02-01T17:39:40Z",
"published" : "2026-02-01T17:39:40Z",
"aliases" : [ "CVE-2026-23835" ],
"summary" : "LobeHub Vulnerable to Improper Authorization in Presigned Upload",
"details" : "### Summary\nThe file upload feature in `Knowledge Base > File Upload` does not validate the integrity of the upload request, allowing users to intercept and modify the request parameters. As a result, it is possible to create arbitrary files in abnormal or unintended paths. In addition, since `lobechat.com` relies on the size parameter from the request to calculate file usage, an attacker can manipulate this value to misrepresent the actual file size, such as uploading a `1 GB` file while reporting it as `10 MB`, or falsely declaring a `10 MB` file as a `1 GB` file.\n\n### Details\nAfter entering the Knowledge Base, click the file upload option and upload any file. At this point, use a tool such as Burp Suite to intercept and inspect the request sent to `POST /trpc/lambda/file.createFile?batch=1` (the request packet is shown in the image below). By modifying the name and size fields in this request, it is possible to bypass the maximum upload size enforced by LobeChat’s monthly subscription plan and upload files beyond the intended service storage limits.\n<img width=\"670\" height=\"413\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c83cfb81-3bcc-4562-b052-5344ccf6356f\" />\n\n### Impacts\nBy manipulating the size value provided in the client upload request, it is possible to bypass the monthly upload quota enforced by the server and continuously upload files beyond the intended storage and traffic limits. This abuse can result in a discrepancy between actual resource consumption and billing calculations, causing direct financial impact to the service operator. Additionally, exhaustion of storage or related resources may lead to degraded service availability, including failed uploads, delayed content delivery, or temporary suspension of upload functionality for legitimate users. A single malicious user can also negatively affect other users or projects sharing the same subscription plan, effectively causing an indirect denial of service (DoS). Furthermore, excessive and unaccounted-for uploads can distort monitoring metrics and overload downstream systems such as backup processes, malware scanning, and media processing pipelines, ultimately undermining overall operational stability and service reliability\n\n### PoC\n<img width=\"572\" height=\"498\" alt=\"image\" src=\"https://github.com/user-attachments/assets/cb5d4a7d-513c-49bf-a75b-0e6abb7f144a\" />\n<img width=\"887\" height=\"305\" alt=\"image\" src=\"https://github.com/user-attachments/assets/31d80889-d169-45af-b052-f7f4b5f654da\" />\n<img width=\"286\" height=\"95\" alt=\"image\" src=\"https://github.com/user-attachments/assets/0a112966-cb3c-4045-af85-acad9f645056\" />\n\n<img width=\"568\" height=\"503\" alt=\"image\" src=\"https://github.com/user-attachments/assets/51cfa49e-ffef-4e04-be3e-77a67d41e1c0\" />\n<img width=\"602\" height=\"275\" alt=\"image\" src=\"https://github.com/user-attachments/assets/d0b5a85d-60bc-4ffe-9877-1dca989dfe92\" />\n<img width=\"281\" height=\"106\" alt=\"image\" src=\"https://github.com/user-attachments/assets/fc68eaeb-b320-4066-80f8-18aa6e42cdaf\" />",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@lobehub/chat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.143.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/lobehub/lobehub/security/advisories/GHSA-wrrr-8jcv-wjf5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23835"
}, {
"type" : "WEB",
"url" : "https://github.com/lobehub/lobehub/commit/2c1762b85acb84467ed5e799afe1499cd2f912e6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/lobehub/lobehub"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-73" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-01T17:39:40Z",
"nvd_published_at" : "2026-01-30T20:16:41Z"
}
}