Skip to content
OpenAdvisories
High RLSA-2025:3406 1 CVE

Important: python-jinja2 security update

Published Jul 29, 2025 · Updated Oct 7, 2025

Summary

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

Security Fix(es):

* jinja2: Jinja sandbox breakout through attr filter selecting format method (CVE-2025-27516)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Fixed packages 1

ReleasePackageFixed in
Rocky Linux · 9 python-jinja2 0:2.11.3-8.el9_5

Vulnerabilities 1

  • Medium 5.4

    Jinja sandbox breakout through attr filter selecting format method

    Jinja is an extensible templating engine. Prior to 3.1.6, an oversight in how the Jinja sandboxed environment interacts with the |attr filter allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerabi…

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2350190