CriticalVulnerabilityLLM-specific
CVE-2026-31020: DocsGPT server-side template injection in custom prompt feature
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-31020
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.0%
Summary
CVE-2026-31020 affects DocsGPT 0.15.0 and below. Its custom prompt feature renders user-supplied prompt content through Jinja templates without input sanitization or sandboxing. An unauthenticated attacker can inject malicious template expressions, causing server-side template injection that can lead to full remote code execution.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online