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).
History

Mon, 07 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Arc53
Arc53 docsgpt
Vendors & Products Arc53
Arc53 docsgpt

Fri, 04 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
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).
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-09-04T00:00:00.000Z

Updated: 2026-09-04T17:39:17.358Z

Reserved: 2026-03-09T00:00:00.000Z

Link: CVE-2026-31020

cve-icon Vulnrichment

Updated: 2026-09-04T17:38:48.790Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T17:16:56.910

Modified: 2026-09-08T19:42:20.313

Link: CVE-2026-31020

cve-icon Redhat

No data.