Security features bypass in Jinja - CVE-2024-56326

 

Security features bypass in Jinja - CVE-2024-56326

Published: December 27, 2024 / Updated: February 11, 2025


Vulnerability identifier: #VU101972
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-56326
CWE-ID: CWE-254
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: The Pallets Projects
Affected software:
Jinja

Detailed vulnerability description

The vulnerability allows a local user to bypass sandbox restrictions.

The vulnerability exists in the way the Jinja sandboxed environment detects calls to str.format.  A local user with the ability to control the contents of a template can bypass sandbox restrictions.

How to mitigate CVE-2024-56326

Install updates from vendor's website.

Sources