CVE-2026-34371
Last modified
CVE-2026-34371 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the execute_code sandbox when persisting code-generated artifacts. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the execute_code sandbox when persisting code-generated artifacts. On deployments using the default local file strategy, a malicious artifact filename containing traversal sequences (for example, ../../../../../app/client/dist/poc.txt) is concatenated into the server-side destination path and written with fs.writeFileSync() without sanitization. This gives any user who can trigger execute_code an arbitrary file write primitive as the LibreChat server user. This vulnerability is fixed in 0.8.4.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Librechat | Librechat | < 0.8.4 |
References
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-qrm5-r67f-6692Exploit, Vendor Advisory
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-qrm5-r67f-6692Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-34371?
How severe is CVE-2026-34371?
How do I fix CVE-2026-34371?
Are you affected by CVE-2026-34371?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
