CVE-2026-34371: LibreChat is a ChatGPT clone with additional features
CVE-2026-34371 is a medium-severity flaw (CVSS 6.3) affecting librechat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 s
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 83%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-04-07 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-34371?
librechat: upgrade to 0.8.4. Exact commands for each OS are on this page.
Is CVE-2026-34371 being exploited?
CVE-2026-34371 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-34371 affect?
CVE-2026-34371 affects librechat. Severity is medium (CVSS 6.3). 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 ma
How urgent is CVE-2026-34371?
Priority 31/100. Public exploit reference
Software pages
OpenAI ChatGPT vulnerabilities
Related CVEs
- CVE-2026-31943 HIGH 8.5 UPGRADE LibreChat is a ChatGPT clone with additional features
- CVE-2026-31945 HIGH 7.7 DOWNGRADE LibreChat is a ChatGPT clone with additional features
- CVE-2026-31951 MEDIUM 6.8 UPGRADE LibreChat is a ChatGPT clone with additional features
- CVE-2026-31950 MEDIUM 5.3 DOWNGRADE LibreChat is a ChatGPT clone with additional features
- CVE-2026-54033 HIGH 7.7 UPGRADE LibreChat is an enhanced ChatGPT clone that supports multiple AI providers