{"id":"CVE-2019-10906","published":"2019-04-06T23:17:03Z","modified":"2024-08-04T22:40:15Z","title":"In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape","vendor":null,"product":null,"tier":"tail","description":{"text":"In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03603,"percentile":0.89735,"provenance":"source"},"cwes":[],"references":[{"url":"https://palletsprojects.com/blog/jinja-2-10-1-released","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/46c055e173b52d599c648a98199972dbd6a89d2b4c4647b0500f2284%40%3Cdevnull.infra.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/b2380d147b508bbcb90d2cad443c159e63e12555966ab4f320ee22da%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/f0c4a03418bcfe70c539c5dbaf99c04c98da13bfa1d3266f08564316%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/57673a78c4d5c870d3f21465c7e2946b9f8285c7c57e54c2ae552f02%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/320441dccbd9a545320f5f07306d711d4bbd31ba43dc9eebcfc602df%40%3Cdevnull.infra.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/2b52b9c8b9d6366a4f1b407a8bde6af28d9fc73fdb3b37695fd0d9ac%40%3Cdevnull.infra.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/7f39f01392d320dfb48e4901db68daeece62fd60ef20955966739993%40%3Ccommits.airflow.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/09fc842ff444cd43d9d4c510756fec625ef8eb1175f14fd21de2605f%40%3Cdevnull.infra.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCDYIS254EJMBNWOG4S5QY6AOTOR4TZU/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DSW3QZMFVVR7YE3UT4YRQA272TYAL5AF/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TS7IVZAJBWOHNRDMFJDIZVFCMRP6YIUQ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1152","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1237","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1329","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/4011-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4011-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":17.95}]},"affected":[{"ecosystem":"PyPI","package":"Jinja2","vulnerableRanges":["<2.10.1"],"patched":["2.10.1"],"from":["GHSA-462w-v97r-4m45","PYSEC-2019-217"],"provenance":"source"}],"summary":{"text":"The flaw is a sandbox escape in Pallets Jinja, the Python template engine, affecting versions before 2.10.1, where its handling of str.format_map permits escaping the sandbox. An attacker able to supply or influence template content processed by the affected sandboxed environment could exploit this to break out of the sandbox.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:55Z"},"euvd":{"id":"EUVD-2019-0068","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-1402","published":"2014-05-19","fixed":"2.7.2","kev":false},{"cve":"CVE-2014-0012","published":"2014-05-19","fixed":"2.7.3","kev":false},{"cve":"CVE-2016-10745","published":"2019-04-08","fixed":"2.8.1","kev":false,"link":{"from":"CVE-2016-10745","to":"CVE-2019-10906","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Jinja2","fromFixed":"2.8.1","toFixed":"2.10.1","daysApart":-2},{"kind":"similar","provenance":"machine","score":0.69,"basis":"same package + description similarity"}]}},{"cve":"CVE-2019-10906","published":"2019-04-06","fixed":"2.10.1","kev":false},{"cve":"CVE-2020-28493","published":"2021-02-01","fixed":"2.11.3","kev":false,"link":{"from":"CVE-2019-10906","to":"CVE-2020-28493","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Jinja2","fromFixed":"2.10.1","toFixed":"2.11.3","daysApart":667}]}},{"cve":"CVE-2024-34064","published":"2024-05-06","fixed":"3.1.4","kev":false},{"cve":"CVE-2025-27516","published":"2025-03-05","fixed":"3.1.6","kev":false}],"package":"PyPI:Jinja2"}}