CVE-2024-10359 Mass Assignment in Preset Creation Allows User ID Manipulation in danny-avila/librechat

Medium 4.6 Published Updated

Attackers can manipulate user IDs during preset creation to view or modify other users' presets due to missing input validation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-10359?

CVE-2024-10359 is a medium-severity vulnerability in Librechat Librechat, published on 20 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In danny-avila/librechat version v0.7.5-rc2, a vulnerability exists in the preset creation functionality where a user can manipulate the user ID field through mass assignment. This allows an attacker to inject a different user ID into the preset object, causing the preset to appear in the UI of another user. The vulnerability arises because the backend saves the entire object received without validating the attributes and their values, impacting both integrity and confidentiality.

Weakness: CWE-915

Which versions are affected by CVE-2024-10359?

It affects 1 product.

Products include Librechat Librechat.

How do I fix CVE-2024-10359?

No fix has been published for CVE-2024-10359 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-10359 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10359 exists.

All Librechat Librechat vulnerabilities

Sources

Also known as GHSA-w4cv-4jm4-pg8h.

Is CVE-2024-10359 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free