Advisory record · GHSA-vwf3-4xxj-qg6h

mcp-contextforge-gateway has Server-Side Template Injection (SSTI) leading to Remote Code Execution in `PromptService._render_template` via unsandboxed Jinja2 Environment

No CVSS score

Published by the GitHub Advisory Database at 25 Aug 2026, 17:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mcp-contextforge-gatewayPyPI<1.0.01.0.0
Identifiers
GHSA-vwf3-4xxj-qg6h
Weakness (CWE)
CWE-94 · CWE-1336
Published
25 Aug 2026
Updated
26 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

mcp-contextforge-gateway versions before 1.0.0 render user-supplied prompt templates with an unsandboxed Jinja2 environment. An authenticated user allowed to create or update prompts can store a template that runs arbitrary Python code on the gateway host. Upgrade to version 1.0.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:39 UTC First seen by agentprime
  2. 31 Oct 2026, 14:39 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.