{"id":"CVE-2026-31020","aliases":["CVE-2026-31020"],"related":[],"kind":"vulnerability","state":"published","title":"In DocsGPT 0.15.0 and below, the application provides a custom prompt feature that allows users to define prompt content used during chatbo…","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"}],"published":"2026-09-04T00:00:00.000Z","modified":"2026-09-08T19:42:20.313Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"http://arc53.com","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31020","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-09-04T17:39:05.794Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31020","url":"https://www.cve.org/CVERecord?id=CVE-2026-31020","licence":"CVE Terms of Use","modified":"2026-09-04T17:39:17.358Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31020","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31020","licence":"Public domain","modified":"2026-09-08T19:42:20.313Z"}],"updatedAt":"2026-11-25T22:59:36.365Z","epss":{"score":0.00577,"percentile":0.48932,"date":"2026-12-01T12:00:22.000Z"}}