Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 4.0 vector indicates moderate direct impact (VC:L, VI:L, VA:L on confidentiality, integrity, and availability) with EPSS probability marked as exploitable (E:P). However, unrestricted file upload on a web server carrying CVSS 6.9 and publicly available POC significantly understates real-world risk. The integrity impact (VI:L) from arbitrary file placement combined with the application's AI/ML nature suggests potential for injection of malicious models, prompt injection payloads, or backdoors. Given AV:N/PR:N/UI:N baseline, any internet-exposed instance is immediately vulnerable with no authentication barrier. The vendor's non-response to early disclosure and rolling-release model mean no coordinated fix timeline exists. This is a high-priority vulnerability for any deployed localGPT instance despite the moderate CVSS score, particularly in production environments processing sensitive data or connected to external systems. |
| Exploit ScenarioDerived | An attacker probes an internet-exposed localGPT instance and discovers the unsecured do_POST endpoint. Using the publicly available exploit (GitHub CVEP issue #7), the attacker crafts an HTTP POST request with a malicious .py file or model checkpoint containing backdoor code. The file is uploaded without authentication or validation, placed directly in the application's file path. Upon application restart or model loading, the malicious payload executes with the privileges of the localGPT process, potentially granting the attacker code execution, data theft, or lateral movement into the hosting environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 28, 2026
Unrestricted file upload in PromtEngineer localGPT allows remote attackers to upload arbitrary files via the do_POST function in backend/server.py, enabling potential remote code execution or system compromise. The vulnerability affects all versions up to commit 4d41c7d1713b16b216d8e062e51a5dd88b20b054, impacts unauthenticated remote users, and publicly available exploit code exists. The vendor has not responded to early disclosure attempts, leaving the product unpatched.
RemediationAI
No vendor-released patch with a specific version tag has been identified at time of analysis. Users must update their localGPT installation to a commit after 4d41c7d1713b16b216d8e062e51a5dd88b20b054 from the main repository branch. Immediately implement input validation in the do_POST function to restrict uploaded file types to an allowlist (e.g., only .txt, .pdf for document ingestion), enforce strict file size limits, and store uploads outside the web root in a non-executable directory. Deploy rate limiting on the upload endpoint and consider requiring authentication for file uploads. Until upstream fixes are available, restrict network access to localGPT to trusted internal networks only via firewall rules or VPN. Monitor the official GitHub repository for security updates and rebuild deployments promptly when available. See VulDB references (https://vuldb.com/vuln/353888) and exploit details (https://github.com/August829/CVEP/issues/7) for additional context.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from CWE-434 (Unrestricted Upload of File with Dangerous Type), a fundamental input validation flaw in the HTTP POST handler within localGPT's backend/server.py module. The do_POST function fails to implement proper file type validation, size restrictions, or destination path sanitization for uploaded files. This allows attackers to bypass intended upload controls and place malicious files directly on the server filesystem. The product follows a rolling release strategy without traditional versioning, complicating remediation tracking across deployments. The attack vector is network-accessible (AV:N) with low complexity (AC:L), requiring no prior authentication (PR:N) or user interaction (UI:N), making exploitation trivial for any remote attacker.
Know when Localgpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in PromtEngineer localGPT up to 4d41c7d1713b16b216d8e062e51a5dd88b20b054. The affected element is the function do_POST of the file backend/server.py. This manipulation causes unrestricted upload. The attack is possible to be carried out remotely. The exploit has been published and may be used. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
Organizations using PromtEngineer localGPT should be aware of notable risk from CVE-2026-5001, a unrestricted file upload vulnerability rated CVSS 6.9. This could allow unauthorized file access. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
EUVD-2026-16932
GHSA-m73g-4qvw-9rwm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB