{"api_version":"1","generated_at":"2026-04-22T22:48:08+00:00","cve":"CVE-2019-8341","urls":{"html":"https://cve.report/CVE-2019-8341","api":"https://cve.report/api/cve/CVE-2019-8341.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-8341","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-8341"},"summary":{"title":"CVE-2019-8341","description":"** DISPUTED ** 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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-02-15 07:29:00","updated_at":"2023-11-07 03:13:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html","name":"openSUSE-SU-2019:1395","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1395-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/46386/","name":"46386","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"Jinja2 2.10 - 'from_string' Server Side Template Injection - Python webapps Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1125815","name":"https://bugzilla.suse.com/show_bug.cgi?id=1125815","refsource":"CONFIRM","tags":[],"title":"Bug 1125815 – VUL-0: CVE-2019-8341: python-Jinja2: command injection in function from_string","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html","name":"openSUSE-SU-2019:1614","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1614-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/JameelNabbo/Jinja2-Code-execution","name":"https://github.com/JameelNabbo/Jinja2-Code-execution","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Page not found · GitHub · GitHub","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653","refsource":"MISC","tags":[],"title":"1677653 – (CVE-2019-8341) CVE-2019-8341 python-jinja2: command injection in function from_string","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-8341","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8341","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"8341","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"8341","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"42.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"8341","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pocoo","cpe5":"jinja2","cpe6":"2.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"8341","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pocoo","cpe5":"jinja2","cpe6":"2.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-8341","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/JameelNabbo/Jinja2-Code-execution","refsource":"MISC","url":"https://github.com/JameelNabbo/Jinja2-Code-execution"},{"name":"46386","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/46386/"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1395","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1614","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html"},{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653"},{"refsource":"CONFIRM","name":"https://bugzilla.suse.com/show_bug.cgi?id=1125815","url":"https://bugzilla.suse.com/show_bug.cgi?id=1125815"}]}},"nvd":{"publishedDate":"2019-02-15 07:29:00","lastModifiedDate":"2023-11-07 03:13:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pocoo:jinja2:2.10:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"8341","Ordinal":"146174","Title":"CVE-2019-8341","CVE":"CVE-2019-8341","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"8341","Ordinal":"1","NoteData":"** DISPUTED ** 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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"8341","Ordinal":"2","NoteData":"2019-02-15","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"8341","Ordinal":"3","NoteData":"2019-08-06","Type":"Other","Title":"Modified"}]}}}