CVEvulnerability

CVE-2026-31020

9.8 CRITICAL Published 2026-09-04 Modified 2026-09-08 Official page ↗
Status
Deferred
Published
2026-09-04
Last modified
2026-09-08
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94

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).

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References