CVE-2019-8341
highpriority · attend · 64EPSS 0.439 · 99 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
affected products (5)
Products and version ranges known to be affected.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (29)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.htmlcnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1677653cnnvd
- https://bugzilla.suse.com/show_bug.cgi?id=1125815cnnvd
- https://github.com/JameelNabbo/Jinja2-Code-executioncnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-8341cnnvd
- https://packetstormsecurity.com/files/151705/Jinja2-2.10-Command-Injection.htmlcnnvd
- https://vigilance.fr/vulnerability/python-Jinja2-code-execution-via-from-string-29234cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan