In DocsGPT 0.15.0 and below, the application provides a custom prompt feature that allows users to define prompt content used during chatbot interactions. This functionality renders user-supplied prompt data using Jinja templates without input sanitization or sandboxing. An unauthenticated attacker can inject malicious template expressions, leading to a server-side template injection (SSTI) vulnerability that can be exploited to achieve full remote code execution (RCE).
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-04 17:16
Updated : 2026-09-08 19:42
NVD link : CVE-2026-31020
Mitre link : CVE-2026-31020
CVE.ORG link : CVE-2026-31020
JSON object : View
Products Affected
No product.
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
