Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Jinja2 versions 3.0.0 up to but not including 3.1.5 are vulnerable. An attacker who controls both the content and the filename of a template can execute arbitrary Python code, even when Jinja's sandbox is used. Exploitation depends on the application, and the risk applies to applications that run untrusted templates where the template author can also pick the filename. Upgrade to jinja2 3.1.5.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.4 | Medium | 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0031, the 23rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:29 UTC First seen by agentprime
- 31 Oct 2026, 14:29 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-gmj6-6f8f-6699
- OSV: GHSA-gmj6-6f8f-6699
- github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699
- nvd.nist.gov/vuln/detail/CVE-2024-56201
- github.com/pallets/jinja/issues/1792
- github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f
- github.com/pallets/jinja
- github.com/pallets/jinja/releases/tag/3.1.5