CVE-2026-31020
9.8critical
In DocsGPT 0.15.0 and below, the application provides a custom prompt feature that allows users to define prompt content used during chatbo…
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.58% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31020 changed 2026-09-04 | CVE Terms of Use |
| NVD | CVE-2026-31020 changed 2026-09-08 | Public domain |