{
 "public_id": "AIR-2026-0220",
 "incident_id": "2026-09-docsgpt-custom-prompt-ssti-rce",
 "date_disclosed": "2026-09-04",
 "date_occurred": null,
 "title": "CVE-2026-31020: server-side template injection to RCE in DocsGPT custom-prompt feature",
 "class": "responsible_disclosure",
 "attack_surface": "agent_framework",
 "initial_vector": "unauthenticated_network_request",
 "agent_capability_abused": [
  "custom_prompt_template",
  "code_execution"
 ],
 "target_product": "DocsGPT",
 "target_vendor": "Arc53 / DocsGPT",
 "autonomy_level": "assistant",
 "impact_realized": false,
 "impact_type": [
  "remote_code_execution"
 ],
 "blast_radius": "DocsGPT 0.15.0 and earlier",
 "cve": [
  "CVE-2026-31020"
 ],
 "taxonomy": {
  "owasp_asi": [
   "ASI05"
  ],
  "mitre_atlas": [],
  "labels": [
   "ssti",
   "remote_code_execution",
   "prompt_template",
   "rag_assistant"
  ]
 },
 "defense_present": null,
 "defense_bypassed": true,
 "fix_shipped": null,
 "primary_sources": [
  "https://cveawg.mitre.org/api/cve/CVE-2026-31020",
  "https://cvebrief.com/archive/2026/09/05/"
 ],
 "verified_quote": "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).",
 "confidence": "high",
 "notes": "CVSS 9.8. Published 2026-09-04. The agentic surface is the LLM custom-prompt feature, whose Jinja rendering is unsandboxed. PoC/disclosure; no real victim.",
 "risk_category": "security_fraud",
 "risk_secondary": [],
 "risk_subcategory": "Remote Code Execution & Sandbox Escape",
 "risk_sub_secondary": [],
 "ai_entity": "generative",
 "agency": "ai_as_target",
 "agency_debatable": false,
 "agency_reason": "template injection in the agent framework; no model decision",
 "vector_family": "conventional_vulnerability",
 "vector_detail": "unauthenticated_network_request",
 "guardrail_kind": [
  "unknown"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [],
  "cve": [
   "CVE-2026-31020"
  ],
  "ghsa": []
 },
 "primary_asi": "ASI05",
 "agent_framework": "unknown",
 "model_provider": "unknown",
 "model_name": "",
 "detection_mechanism": "unknown",
 "tool_access": "unknown",
 "financial_loss_band": "unknown",
 "eai_category": "privilege_escalation",
 "eai_domain": "access_control_and_permissions",
 "eai_secondary": [],
 "eai_reason": "subcategory: Remote Code Execution & Sandbox Escape",
 "asi_curated": [],
 "asi_scope": "in_scope",
 "asi_provenance": "rule",
 "asi_reason": "ASI05 (impact=code_exec)",
 "submitted_by": "EAI Internal"
}