Skip to content
OpenAdvisories
Medium SUSE-SU-2025:0956-1 1 CVE

Security update for python-Jinja2

Published Mar 19, 2025 · Updated Feb 4, 2026

Summary

This update for python-Jinja2 fixes the following issues:

- CVE-2025-27516: Fixed sandbox breakout through attr filter selecting format method (bsc#1238879)

Fixed packages 3

ReleasePackageFixed in
openSUSE · Leap 15.6 python-Jinja2 3.1.2-150400.12.14.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Public Cloud 15 SP4 python-Jinja2 3.1.2-150400.12.14.1
SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP6 python-Jinja2 3.1.2-150400.12.14.1

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.suse.com/1238879
  • web
    https://www.suse.com/security/cve/CVE-2025-27516