CVE-2024-8018 Denial of Service (DOS) in imartinez/privategpt

High 7.5 Published Updated

An attacker can cause a denial of service in PrivateGPT by uploading a file with an excessively long multipart boundary, rendering the service inaccessible.

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-8018?

CVE-2024-8018 is a high-severity denial of service vulnerability in imartinez/privategpt, 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 imartinez/privategpt version 0.5.0 allows for a Denial of Service (DOS) attack. When uploading a file, if an attacker appends a large number of characters to the end of a multipart boundary, the system will continuously process these characters, rendering privateGPT inaccessible. This uncontrolled resource consumption can lead to prolonged unavailability of the service, disrupting operations and causing potential data inaccessibility and loss of productivity.

Weakness: CWE-770

Which versions are affected by CVE-2024-8018?

It affects 1 product.

Products include Pribai Privategpt.

How do I fix CVE-2024-8018?

No fix has been published for CVE-2024-8018 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-8018 being exploited?

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

Sources

Also known as GHSA-2rr7-xrrm-67cf.

Is CVE-2024-8018 in your software?

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

Check your SBOMs for free