
CVE catalog
CVE-2019-8341
jinja2 affected and fixed versions
An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing
- Severity
- High · CVSS 8.2
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 43.87% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | jinja2 | Not reported | AffectedDistribution reports no fix | [CVE-2019-8341] |
| Debiantrixie | jinja2 | 3.1.6-1 | Affected | [CVE-2019-8341] |
| Debiansid | jinja2 | Not reported | AffectedDistribution reports no fix | [CVE-2019-8341] |
| Debiansid | jinja2 | 3.1.6-4 | Affected | [CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm3 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm4 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm5 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.9.6-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
Showing 12 observations. All 17 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | jinja2 | Not reported | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | jinja2 | Not reported | AffectedDistribution reports no fix | [CVE-2019-8341] |
| Debianbookworm | jinja2 | 3.1.2-1+deb12u3 | Affected | [CVE-2019-8341] |
| Debianforky | jinja2 | Not reported | AffectedDistribution reports no fix | [CVE-2019-8341] |
| Debianforky | jinja2 | 3.1.6-4 | Affected | [CVE-2019-8341] |
| Debiansid | jinja2 | Not reported | AffectedDistribution reports no fix | [CVE-2019-8341] |
| Debiansid | jinja2 | 3.1.6-4 | Affected | [CVE-2019-8341] |
| Debiantrixie | jinja2 | Not reported | AffectedDistribution reports no fix | [CVE-2019-8341] |
| Debiantrixie | jinja2 | 3.1.6-1 | Affected | [CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm3 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm4 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.10-1ubuntu0.18.04.1+esm5 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
| Ubuntupro | jinja2 | 2.9.6-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-8341] |
Original provider fields
{
"package_releases": [
{
"name": "jinja2",
"status": "vulnerable",
"release": "sid",
"version": "3.1.6-4"
},
{
"name": "jinja2",
"status": "vulnerable",
"release": "forky",
"version": "3.1.6-4"
},
{
"name": "jinja2",
"status": "vulnerable",
"release": "trixie",
"version": "3.1.6-1"
},
{
"name": "jinja2",
"status": "vulnerable",
"release": "bookworm",
"version": "3.1.2-1+deb12u3"
}
],
"fixed_versions": [
{
"bug": null,
"name": "jinja2",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "unimportant",
"fixed_version": ""
},
{
"bug": null,
"name": "jinja2",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "unimportant",
"fixed_version": ""
},
{
"bug": null,
"name": "jinja2",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "unimportant",
"fixed_version": ""
},
{
"bug": null,
"name": "jinja2",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "unimportant",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "jinja2",
"fixed_version": "not yet fixed",
"applicability_unknown": true
},
{
"name": "jinja2",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "pro",
"versions": [
"2.9.6-1",
"2.10-1",
"2.10-1ubuntu0.18.04.1",
"2.10-1ubuntu0.18.04.1+esm1",
"2.10-1ubuntu0.18.04.1+esm2",
"2.10-1ubuntu0.18.04.1+esm3",
"2.10-1ubuntu0.18.04.1+esm4",
"2.10-1ubuntu0.18.04.1+esm5"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-8341",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2019-8341",
"provider_updated_at": "2025-09-08T16:45:17Z",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-jinja2]Unknown
Source package: [jinja2]
Details (2)
3.1.2-1+deb12u3· all · bookwormAffected
dsa · jinja2 · debian · bookworm; dsa · jinja2 · debian · 12
3.1.2-1+deb12u3· all · bookwormAffected
dsa · jinja2 · debian · bookworm; dsa · jinja2 · debian · 12
- [python-jinja2-doc]Unknown
Source package: [jinja2]
Details (2)
3.1.2-1+deb12u3· all · bookwormAffected
dsa · jinja2 · debian · bookworm; dsa · jinja2 · debian · 12
3.1.2-1+deb12u3· all · bookwormAffected
dsa · jinja2 · debian · bookworm; dsa · jinja2 · debian · 12
[Debian 13 (Trixie)]
- [python3-jinja2]Unknown
Source package: [jinja2]
Details (2)
3.1.6-1· all · trixieAffected
dsa · jinja2 · debian · 13
3.1.6-1· all · trixieAffected
dsa · jinja2 · debian · 13
- [python-jinja2-doc]Unknown
Source package: [jinja2]
Details (2)
3.1.6-1· all · trixieAffected
dsa · jinja2 · debian · 13
3.1.6-1· all · trixieAffected
dsa · jinja2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_1156-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-8341]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-8341]
- [https://security-tracker.debian.org/tracker/CVE-2019-8341]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-8341.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]