Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-31942: LibreChat is an enhanced ChatGPT clone that supports multiple AI providers

27
Routine
HIGH 7.1UPGRADE

CVE-2026-31942 is a high-severity flaw (CVSS 7.1) affecting librechat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. In versions up to and including 0.7.6, an Insecure Direct Object Reference (IDOR) vulnerability exists in the API keys management endpoint (PUT /api/keys). Due to the use of the JavaScript object spread operator after setting the authenticated user's ID, any authenticated user can inject a userId parameter in the request body to overwrite any other user's API keys (e.g.,

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.1 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.2% (top 89%)
CISA exploited listNo
WeaknessCWE-862
Published2026-06-02
Last modified2026-07-22
Publisher (CNA): GitHub, Inc. · Vendor: librechat

Share: LinkedIn · X · Reddit

Last updated 2026-07-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

librechat librechat UPGRADE
Affected: < 0.8.3
Fixed in: 0.8.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy librechat || rpm -q librechat || librechat --version
2. UPGRADE to 0.8.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade librechat
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade librechat
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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-31942?

librechat: upgrade to 0.8.3. Exact commands for each OS are on this page.

Is CVE-2026-31942 being exploited?

CVE-2026-31942 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-31942 affect?

CVE-2026-31942 affects librechat. Severity is high (CVSS 7.1). LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. In versions up to and including 0.7.6, an Insecure Direct Object Reference (IDOR) vulnerability exists in the API keys management endpoint (PUT /api/keys). Due to t

How urgent is CVE-2026-31942?

Priority 27/100. High severity

Software pages

OpenAI ChatGPT vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.