All vulnerabilities

Servers and applications

CVE-2026-54037

Incomplete Fix for CVE-2025-7105 — /api/convos/duplicate Lacks Rate Limiting Applied to /api/convos/fork

Severity
Medium 6.5
Published
2 Jun 2026
Last changed
25 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.8.4-rc1
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-g445-9wq6-jf3v
Sources
NVD, Project advisories (GitHub)

Description

The fix for CVE-2025-7105 (commit 97a99985fa) added forkIpLimiter and forkUserLimiter rate limiters to POST /api/convos/fork to prevent rapid-fire conversation duplication. However, the POST /api/convos/duplicate endpoint — which is in the same file and performs the exact same expensive database operations — was not given any rate limiter. An authenticated user can bypass the CVE-2025-7105 fix by using /duplicate instead of /fork to exhaust server resources.

Both /fork and /duplicate are defined in api/server/routes/convos.js. They both call into api/server/utils/import/fork.js and perform the same core operations:

  • getConvo() — fetch the conversation
  • getMessages() — fetch all messages from the conversation
  • cloneMessagesWithTimestamps() — clone every message with new IDs
  • importBatchBuilder.saveBatch() — batch-write all cloned messages to MongoDB

The /fork endpoint was patched with rate limiters at line 262:

The /duplicate endpoint at line 283 has no rate limiting:

From LibreChat-AI/LibreChat's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LibreChatServers and applications · cpe:a:librechat:librechat
  • Every version up to 0.8.3
LibreChatServers and applications · github:librechat-ai/librechat
  • Every version before 0.8.4-rc1

About LibreChat

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

From its GitHub repository.
Docker Hub pulls
669,094Docker Hub, 15 Nov 2026
GitHub stars
47,138GitHub, 15 Nov 2026
Forks
9,706GitHub, 15 Nov 2026
License
MITGitHub
First published on GitHub
12 Feb 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-54037
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-54037
  • GitHub Advisory Database https://github.com/advisories/GHSA-g445-9wq6-jf3v
  • github.com https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-g445-9wq6-jf3v