CVE-2026-31020: n/a
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).
CVSS v3.1
Score 9.8critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
DocsGPT 0.15.0 and below implement a custom prompt feature that uses Jinja template rendering on user-supplied prompt data without proper input sanitization or sandboxing. This results in a server-side template injection vulnerability (CWE-94) that can be exploited by unauthenticated attackers to execute arbitrary code on the server, achieving full remote code execution. The vulnerability has a CVSS 3.1 base score of 9.8, indicating critical severity. There is no vendor advisory or patch information available at this time.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary code on the server hosting DocsGPT, compromising confidentiality, integrity, and availability of the system. This can lead to full system takeover, data theft, or disruption of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid exposing the vulnerable feature to untrusted users or disable the custom prompt functionality if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 6a9afae1acd9273b49eca3c7
Added to database: 09/04/2026, 17:07:45 UTC
Last enriched: 09/07/2026, 12:05:01 UTC
Last updated: 10/18/2026, 06:48:16 UTC
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.