CVE-2024-12063 Denial of Service in imartinez/privategpt

High 7.5 Published Updated

An attacker can cause a denial of service in PrivateGPT by sending a file upload request with an excessively large filename, overwhelming the server.

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

CVE-2024-12063 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 Denial of Service (DoS) vulnerability exists in the file upload feature of imartinez/privategpt version v0.6.2. The vulnerability is due to improper handling of form-data with a large filename in the file upload request. An attacker can exploit this by sending a payload with an excessively large filename, causing the server to become overwhelmed and unavailable to legitimate users.

Weakness: CWE-400

Which versions are affected by CVE-2024-12063?

It affects 1 product.

Products include Pribai Privategpt.

How do I fix CVE-2024-12063?

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

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

Sources

Also known as GHSA-q5v7-7r3x-m7hg.

Is CVE-2024-12063 in your software?

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

Check your SBOMs for free