Submit #1065879: Zylon PrivateGPT up to 0.6.2 Missing Authentication (CWE-306)info

TitleZylon PrivateGPT up to 0.6.2 Missing Authentication (CWE-306)
DescriptionA vulnerability was found in Zylon PrivateGPT up to 0.6.2. It affects the function authenticated in private_gpt/server/utils/auth.py. The shipped settings.yaml sets server.auth.enabled to false (line 13), so authenticated() is defined at import time as a stub that always returns True (auth.py lines 48-56), while the default launcher (private_gpt/__main__.py line 11) binds the API to x.x.x.x:8001. This is missing authentication for critical functions: unauthenticated remote attackers can list and read all ingested documents (GET /v1/ingest/list, POST /v1/chunks), inject content into the knowledge base (POST /v1/ingest/text, /v1/ingest/file), delete any document (DELETE /v1/ingest/{doc_id}) and use the LLM endpoints. This issue is distinct from CVE-2025-4515, which covers the wildcard CORS policy (allow_origins). This entry concerns the missing authentication default only. Affected file: private_gpt/server/utils/auth.py (with settings.yaml and private_gpt/__main__.py) Affected function: authenticated Affected argument: server.auth.enabled CWE: CWE-306, CWE-1188 CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) Proof of concept (default configuration, no credentials): curl http://<host>:8001/v1/ingest/list curl -X POST http://<host>:8001/v1/ingest/text -H "Content-Type: application/json" -d '{"file_name":"evil.txt","text":"<attacker content>"}' curl -X DELETE http://<host>:8001/v1/ingest/<doc_id> 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-004-authentication-is-off-and-the-server-is-listening
User buildbybrayden (UID 102637)
Submission10/30/2026 05:29 (1 month ago)
Moderation11/29/2026 20:50 (1 month later)
StatusAccepted
VulDB entry445258 [Zylon PrivateGPT up to 1.0.1 API Authentication auth.py authenticated server.auth.enabled missing authentication]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!