CVE-2026-31020

CRITICALCVSS 9.8/10EPSS 0.58%

Last modified

CVE-2026-31020 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.58% chance of exploitation in the next 30 days.

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

Metrics

EPSS Probability
0.58%

45.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
——n/a

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2026-31020?
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).
How severe is CVE-2026-31020?
CVE-2026-31020 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 0.58% probability of exploitation in the next 30 days.
How do I fix CVE-2026-31020?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-31020?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST