Authorization bypass through user-controlled key in LibreChat - #VU166577

 

Authorization bypass through user-controlled key in LibreChat - #VU166577

Published: November 18, 2026


Vulnerability identifier: #VU166577
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-639
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to access other users' agent avatar images without authorization.

The vulnerability exists due to missing ownership checks in LibreChat's validateImageRequest middleware when secureImageLinks is enabled and image paths match the agent-avatar pattern. A remote user can request another user's avatar through /images/{24-hex}/agent-* to disclose the image despite secure image links being enabled.


Affected software

LibreChat

Remediation

Install security update from vendor's website.

LibreChat - update to 0.8.9

External References

Related Security Bulletins