# CVE-2026-31020: 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: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-09-04T00:00:00.000Z
- Modified: 2026-09-08T19:42:20.313Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <http://arc53.com>
- <https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31020>

## Sources

- CVE List: [CVE-2026-31020](https://www.cve.org/CVERecord?id=CVE-2026-31020), CVE Terms of Use, modified 2026-09-04
- NVD: [CVE-2026-31020](https://nvd.nist.gov/vuln/detail/CVE-2026-31020), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-31020 · Whole record: https://cve.day/CVE-2026-31020.json · Rebuilt by cve.day 2026-11-25T22:59:36.365Z
