CVE-2019-8341
A public proof of concept exists; no exploitation attested.
- Published2019-02-15
- WeaknessCWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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
Timeline
dates in UTC- 2019-02-15Exploit-DB entryExploit-DB
- 2019-02-1507:29CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-04 03:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2019-8341?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2019-8341?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 42.3 | = 42.3 | no fix published | NVD |
| 15.0 | = 15.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.10 | = 2.10 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ardana-cassandraSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1600802664.7e480a2-3.6.2
- ardana-mqSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1605174486.a78ddce-3.19.2
- ardana-osconfigSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1601621747.a87e5a0-3.22.2
- ardana-tempestSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1603378983.fc0bca9-3.19.2
- crowbar-coreSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 6.0+git.1606314264.bf9ada813-3.31.2
- crowbar-openstackSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 6.0+git.1604573541.bb18c172d-3.28.3
- grafanaSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 6.7.4-3.20.1
- grafanaSUSE:OpenStack Cloud 9all versions · fixed in 6.7.4-3.20.1
72 more package ranges on OSV.dev
Vendor advisories
- CVE-2019-8341 Red Hat Product Security
python-jinja2: command injection in function from_string
Fix
No fix published by the sources we read yet. NVD record
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.07.5read 2026-10-23
- NVDweakness (CWE)CWE-94read 2026-10-23
- FIRST EPSSEPSS score43.9 %read 2026-11-03
- PoC-in-GitHubproof of concept1read 2026-11-03
- Exploit-DBdetectionread 2026-11-03
- OSVaffected packages—
Identifiers
- EUVD-2019-17731same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- openSUSE-SU-2019:1395-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2019:1156-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:1554-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:3096-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:3897-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2019-02-15
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2019-8341?
Is CVE-2019-8341 actively exploited?
What is the CVSS score for CVE-2019-8341?
Running python-jinja2? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0