CVE-2024-11172 Denial of Service in danny-avila/librechat

High 7.5 Published Updated

Unauthenticated attackers can crash the LibreChat server by sending crafted payloads that trigger unhandled exceptions in the ban check middleware.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-11172?

CVE-2024-11172 is a high-severity denial of service vulnerability in Librechat Librechat, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in danny-avila/librechat version git a1647d7 allows an unauthenticated attacker to cause a denial of service by sending a crafted payload to the server. The middleware `checkBan` is not surrounded by a try-catch block, and an unhandled exception will cause the server to crash. This issue is fixed in version 0.7.6.

Weakness: CWE-248

Which versions are affected by CVE-2024-11172?

It affects 1 product.

Products include Librechat Librechat.

How do I fix CVE-2024-11172?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-11172 being exploited?

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

All Librechat Librechat vulnerabilities

Sources

Also known as GHSA-6827-g8xf-36c7.

Is CVE-2024-11172 in your software?

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

Check your SBOMs for free