Skip to main content
Public proof of conceptFix available

CVE-2019-8341

A public proof of concept exists; no exploitation attested.

  • Published2019-02-15
  • WeaknessCWE-94

Am I 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
  1. 2019-02-15Exploit-DB entryExploit-DB
  2. 2019-02-1507:29CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block 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
Opensuse leap
BranchAffectedFixed in
42.3= 42.3no fix published
15.0= 15.0no fix published
Pocoo jinja2
BranchAffectedFixed in
2.10= 2.10no fix published

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

Full record on NVD

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
Exploit-DB
EDB-46386
Exploit-DB
Proof-of-concept repositories
1 repository, unverifiedadindrabkin/llama_facts
PoC-in-GitHub
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

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?

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

Is CVE-2019-8341 actively exploited?

Active exploitation of CVE-2019-8341 has not been confirmed. Its EPSS score was 43.9% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-8341?

CVE-2019-8341 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record