CVE-2026-34371
mediumpriority · track · 0EPSS 0.003 · 17 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/danny-avila/LibreChat/releasesPatchcnnvd
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-qrm5-r67f-6692cnnvd
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-qrm5-r67f-6692enisa_euvd
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-qrm5-r67f-6692ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan