{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31020","published":"2026-09-04T17:16:56.910000Z","last_modified":"2026-09-08T19:42:20.313000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-31020/","html_en":"/en/cve/CVE-2026-31020/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31020","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31020"},"untrusted":{"desc_en":"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).","affected":[],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"ce5242d815283cc76245dcbb4ac078dc","generated":"2026-11-26T20:48:43.921732Z","es":{"untrusted_title":"Inyección de plantillas del lado del servidor en DocsGPT","untrusted_summary":"DocsGPT 0.15.0 y versiones anteriores contienen una vulnerabilidad de inyección de plantillas del lado del servidor (SSTI) en la funcionalidad de prompts personalizados. Un atacante sin autenticación puede inyectar expresiones maliciosas en plantillas Jinja para lograr ejecución remota de código con acceso total al servidor."},"en":{"untrusted_title":"Server-Side Template Injection in DocsGPT","untrusted_summary":"DocsGPT 0.15.0 and earlier versions contain a server-side template injection (SSTI) vulnerability in the custom prompt feature. An unauthenticated attacker can inject malicious expressions into Jinja templates to achieve remote code execution with full access to the server."},"remediation":{"status":"fix","fixed_versions":[],"untrusted_action_es":"Actualiza DocsGPT a una versión posterior a 0.15.0 que incluya validación y sanitización de entrada en la funcionalidad de prompts personalizados.","untrusted_action_en":"Update DocsGPT to a version after 0.15.0 that includes input validation and sanitization in the custom prompt feature.","vendor_url":"http://arc53.com"},"reviewed":false},"references":[{"url":"http://arc53.com","tags":[]},{"url":"https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31020","tags":[]}]}}