Security features bypass in Jinja - CVE-2024-56201

 

Security features bypass in Jinja - CVE-2024-56201

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


Vulnerability identifier: #VU101971
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-56201
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 due to improper validation of user-supplied input.  A local user with the ability to control both the filename and the contents of a template can bypass sandbox restrictions.


How to mitigate CVE-2024-56201

Install updates from vendor's website.

Sources