Skip to main content
CVE-2024-8018VulnerabilityPublished Updated

CVE-2024-8018: imartinez/privategpt · Unthrottled Resource Allocation

Affects imartinez/privategptSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.0 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubimartinez/privategptpkg:github/imartinez/privategptOther threatsAffected
  • =0.5.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-8018, organizations should implement several specific measures beyond generic advice: 1) Enforce strict input validation on multipart form data, particularly limiting the length and complexity of multipart boundary strings to prevent excessive resource consumption. 2) Introduce rate limiting and throttling mechanisms on file upload endpoints to detect and block abnormal request patterns indicative of DoS attempts. 3) Monitor resource usage metrics (CPU, memory) of privateGPT services to identify unusual spikes that may signal exploitation attempts. 4) Deploy web application firewalls (WAFs) with custom rules to detect and block malformed multipart requests containing excessively long boundaries. 5) If feasible, isolate privateGPT services in containerized or sandboxed environments with resource quotas to limit the impact of resource exhaustion. 6) Stay alert for official patches or updates from the vendor and apply them promptly once available. 7) Conduct regular security testing, including fuzzing multipart upload handling, to identify similar vulnerabilities proactively. 8) Educate development and operations teams about this vulnerability to ensure awareness and rapid response capabilities.

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.

References

Community reviews

Loading reviews…