Skip to content
RedCVE

CVE-2026-31020Code injection

Published:

CVSS score

9.8

Critical

CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0

Exploit probability (EPSS)

1.04%

1.04% chance of exploitation in the next 30 days, higher than 64.8% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

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

Source: NVD · CNA: cve@mitre.org

How to fix it, step by step

  1. Watch for an official fix

    No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-31020 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.0% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-31020?

CVE-2026-31020 has a CVSS 3.1 base score of 9.8 (critical).

Which versions are affected?

The official record does not list affected versions yet.

Is there a patch for CVE-2026-31020?

No patch is linked in the official record yet. Watch the vendor's security advisories.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.