Red Hat Lightwell has released jinja2 3.1.4+rhlw.1 with backported fixes for CVE-2024-56201, CVE-2025-27516, and CVE-2024-56326.
CVE-2024-56201: Jinja has a sandbox breakout through malicious filenames
CVE-2025-27516: Jinja sandbox breakout through attr filter selecting format method
CVE-2024-56326: Jinja has a sandbox breakout through indirect reference to format method
This patched artifact is a drop-in replacement for jinja2 3.1.4 from PyPI.