Submit #1065877: Zylon PrivateGPT up to 0.6.2 Resource Consumption (CWE-400)info

TitleZylon PrivateGPT up to 0.6.2 Resource Consumption (CWE-400)
DescriptionA vulnerability was found in Zylon PrivateGPT up to 0.6.2. The affected functions are IngestService.ingest_bin_data and IngestService._ingest_data in private_gpt/server/ingest/ingest_service.py, part of the Ingest API (POST /v1/ingest/file and POST /v1/ingest/text). Request bodies of any size are accepted: ingest_bin_data reads the entire upload into memory with raw_file_data.read() (line 82), _ingest_data writes it to disk (line 60), and the full content then goes through parsing and embedding without any size check, which leads to uncontrolled resource consumption (denial of service). The server never returns HTTP 413. The attack can be launched remotely without authentication in the default configuration (auth disabled, server bound to x.x.x.x). This issue is distinct from CVE-2024-12063 (oversized filename) and CVE-2024-8018 (oversized multipart boundary). It concerns the unbounded request body. Affected file: private_gpt/server/ingest/ingest_service.py (called from private_gpt/server/ingest/ingest_router.py line 60) Affected arguments: file (POST /v1/ingest/file), text (POST /v1/ingest/text) CWE: CWE-400 CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5) Proof of concept: dd if=/dev/urandom bs=1M count=10 | curl -X POST http://localhost:8001/v1/ingest/file -F 'file=@-;filename=large.pdf;type=application/pdf' curl -X POST http://localhost:8001/v1/ingest/text -H "Content-Type: application/json" -d '{"file_name":"x.txt","text":"'$(python3 -c 'print("A"*5000000)')'"}' Both return HTTP 200. Product: https://github.com/zylon-ai/private-gpt The vendor was contacted by email on 2026-04-28 with multiple follow-ups between July and September 2026, and through GitHub private vulnerability reporting on 2026-08-24, but did not respond.
Source⚠️ https://builtbybrayden.github.io/blog/privategpt-062-unauthenticated-by-default/#pgpt-001-no-limit-on-how-much-you-can-upload
User buildbybrayden (UID 102637)
Submission10/30/2026 05:27 (1 month ago)
Moderation11/29/2026 20:50 (1 month later)
StatusAccepted
VulDB entry445256 [Zylon PrivateGPT up to 0.6.2 Ingest API ingest_service.py ingest_bin_data file resource consumption]
Points20

Do you need the next level of professionalism?

Upgrade your account now!