# CVE-2026-54027: LibreChat: Image Upload Route Bypasses Agent Permission Check — Incomplete Fix for File Upload Authorization

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T15:52:02.234Z
- Modified: 2026-10-25T22:10:00.150Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the POST /api/files/images endpoint allows any authenticated user to upload files into any agent's tool_resources (e.g., context, execute_code) without verifying ownership or EDIT permission on the target agent. A permission check was added to the POST /api/files route in a previous patch, but the image upload route was never updated with the same check. An attacker can simply use the image endpoint instead of the file endpoint to bypass the authorization entirely. This vulnerability is fixed in 0.8.4-rc1.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: < 0.8.4-rc1
- librechat librechat: up to 0.8.3

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-c55r-p24w-hcj5> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-54027](https://www.cve.org/CVERecord?id=CVE-2026-54027), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-54027](https://nvd.nist.gov/vuln/detail/CVE-2026-54027), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54027 · Whole record: https://cve.day/CVE-2026-54027.json · Rebuilt by cve.day 2026-11-25T22:59:26.385Z
