Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed DocsGPT prompt endpoint
-
DeliverySubmit malicious Jinja template expression
-
ExploitTrigger unsandboxed template rendering (SSTI)
-
ExecutionEscape to Python object model
-
PersistExecute OS commands as service account
-
ImpactFull server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target DocsGPT instance (version <=0.15.0) expose the custom-prompt feature to the attacker and that user-supplied prompt content be rendered through the unsandboxed Jinja engine - this is the default behavior of the feature, and the CVSS vector (PR:N/UI:N) indicates no authentication or user interaction is needed. The main limiting factors are reachability of the DocsGPT backend/prompt endpoint (network exposure) and whether the deployment leaves the custom-prompt feature enabled and accessible to untrusted users; instances gated behind authentication or with the feature disabled are not exploitable by anonymous attackers. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) is internally consistent with the description of an unauthenticated, network-reachable SSTI yielding full RCE, and SSVC rates technical impact as 'total' and automatable as 'yes' - both signals that align with high urgency. The tempering factor is that SSVC exploitation is 'none' and the CVE is not in CISA KEV, so there is no confirmation of active exploitation in the wild; a public writeup/PoC repository does exist, which materially lowers the bar for opportunistic attackers. No EPSS score was supplied. Any organization exposing a DocsGPT instance to untrusted users should treat this as a priority patch given trivial exploitability against default configurations, even though real-world deployment scale for this OSS chatbot is more limited than mainstream enterprise software. |
| Exploit ScenarioDerived | An attacker locates an internet-exposed DocsGPT instance, opens the chatbot's custom-prompt input, and submits a prompt containing a Jinja expression such as an object-traversal payload that reaches Python's os module. When DocsGPT renders the prompt, the payload executes and the attacker runs arbitrary commands on the server. Given the network, unauthenticated, low-complexity vector and an existing public PoC repository, this requires little skill to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Remote code execution in DocsGPT 0.15.0 and earlier arises from its custom-prompt feature, which passes user-supplied prompt content into Jinja template rendering with no sanitization or sandboxing. An unauthenticated attacker can submit crafted template expressions to achieve server-side template injection (SSTI) that escalates to full RCE on the host running the chatbot backend. VulDB has published an entry and a public writeup/PoC repository exists, though the flaw is not listed in CISA KEV and SSVC records exploitation status as 'none'.
RemediationAI
No vendor-released fixed version is identified in the supplied data, so upgrade first to any release later than 0.15.0 once Arc53 publishes one and monitor the DocsGPT GitHub repository and https://vuldb.com/vuln/399064 for a patch reference. As compensating controls until a patched build is confirmed: disable or restrict the custom-prompt feature so end users cannot define prompt content (removes the injection surface but loses prompt customization); place the DocsGPT backend behind authentication and network ACLs so the prompt endpoint is not reachable by anonymous users (reduces exposure but does not fix the underlying template evaluation); and run the service in a hardened, minimal-privilege container with egress filtering to limit the blast radius of any RCE (contains impact but does not prevent code execution). Verify any fix independently, as the patched version is not confirmed in the available data.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DocsGPT is an open-source retrieval-augmented-generation documentation assistant (project home arc53.com). The vulnerable component is the custom-prompt capability: prompt text is treated as a Jinja2 template and evaluated server-side. Jinja2, when rendered on attacker-influenced input without a sandboxed environment, exposes Python object introspection primitives (e.g. accessing __class__/__mro__/__subclasses__ or config/global objects) that let an attacker reach OS command execution. This maps to CWE-94 (Improper Control of Generation of Code / 'Code Injection'); SSTI is a classic instance where the injection surface is a template engine rather than a language interpreter directly.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description states unauthenticated network-reachable SSTI yielding full RCE, so AV:N/AC:L/PR:N/UI:N with C:H/I:H/A:H; scope unchanged as impact stays on the vulnerable host.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
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).
Executive ViewAI
DocsGPT versions 0.15.0 and earlier contain an unauthenticated remote code execution vulnerability through server-side template injection in the custom-prompt feature, allowing attackers to execute arbitrary code on hosting servers without authentication. Organizations using this open-source documentation chatbot face complete system compromise with no legitimate user interaction required.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation-isolate DocsGPT instances from untrusted networks; (2) WAF reverse proxy-block requests containing Jinja syntax patterns; (3) Process monitoring-alert on unexpected child process spawning from chatbot service; (4) Credential rotation-reset API keys and secrets accessible to the application; (5) Service replacement-prioritize migration to alternative documentation tools pending patch release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-71608
GHSA-6675-j46f-vjjw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB