Red Hat Security Advisory: python-jinja2 security update
Red Hat OpenShift Container Platform is Red Hat's cloud computing Kubernetes application platform solution designed for on-premise or private cloud deployments. This advisory contains the RPM packages for Red Hat OpenShift Container Platform 4.12.73. See the following advisory for the container images for this release: https://access.redhat.com/errata/RHSA-2025:1242 Security Fix(es): * jinja2: Jinja has a sandbox breakout through indirect reference to format method (CVE-2024-56326) 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. All OpenShift Container Platform 4.12 users are advised to upgrade to these updated packages and images when they are available in the appropriate release channel. To check for available updates, use the OpenShift CLI (oc) or web console. Instructions for upgrading a cluster are available at https://docs.openshift.com/container-platform/4.12/updating/updating_a_cluster/updating-cluster-cli.html
AI Analysis
Technical Summary
CVE-2024-56326 is a security vulnerability in the python-jinja2 package where a sandbox breakout occurs through an indirect reference to the format method. This allows bypassing Jinja2's sandbox restrictions. Red Hat has issued security advisories RHSA-2025:0667 and RHSA-2025:0711 providing updated python-jinja2 packages for Red Hat Enterprise Linux 8 and 9 to remediate this issue. The vulnerability is rated as Important by Red Hat Product Security. The advisory covers multiple architectures and extended update support versions. The fix is available in updated RPM packages and container images for Red Hat OpenShift Container Platform 4.12.73 and Red Hat Enterprise Linux 8 and 9 AppStream repositories.
Potential Impact
The vulnerability allows a sandbox breakout in Jinja2 templates, potentially enabling an attacker to execute unauthorized code or commands within the context where Jinja2 templates are used. This could lead to privilege escalation or unauthorized access depending on the deployment context. Red Hat rates the security impact as Important (medium severity). There are no known exploits in the wild at this time.
Mitigation Recommendations
Red Hat has released updated python-jinja2 packages that fix this vulnerability. Users of Red Hat Enterprise Linux 8 and 9, including Extended Update Support and Extended Life Cycle versions, should upgrade to the updated python-jinja2 packages as soon as they are available in their respective release channels. Instructions for upgrading OpenShift clusters and Red Hat Enterprise Linux systems are provided in the Red Hat advisories and documentation. No additional mitigations are required beyond applying the official updates.
Red Hat Security Advisory: python-jinja2 security update
Description
Red Hat OpenShift Container Platform is Red Hat's cloud computing Kubernetes application platform solution designed for on-premise or private cloud deployments. This advisory contains the RPM packages for Red Hat OpenShift Container Platform 4.12.73. See the following advisory for the container images for this release: https://access.redhat.com/errata/RHSA-2025:1242 Security Fix(es): * jinja2: Jinja has a sandbox breakout through indirect reference to format method (CVE-2024-56326) 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. All OpenShift Container Platform 4.12 users are advised to upgrade to these updated packages and images when they are available in the appropriate release channel. To check for available updates, use the OpenShift CLI (oc) or web console. Instructions for upgrading a cluster are available at https://docs.openshift.com/container-platform/4.12/updating/updating_a_cluster/updating-cluster-cli.html
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-56326 is a security vulnerability in the python-jinja2 package where a sandbox breakout occurs through an indirect reference to the format method. This allows bypassing Jinja2's sandbox restrictions. Red Hat has issued security advisories RHSA-2025:0667 and RHSA-2025:0711 providing updated python-jinja2 packages for Red Hat Enterprise Linux 8 and 9 to remediate this issue. The vulnerability is rated as Important by Red Hat Product Security. The advisory covers multiple architectures and extended update support versions. The fix is available in updated RPM packages and container images for Red Hat OpenShift Container Platform 4.12.73 and Red Hat Enterprise Linux 8 and 9 AppStream repositories.
Potential Impact
The vulnerability allows a sandbox breakout in Jinja2 templates, potentially enabling an attacker to execute unauthorized code or commands within the context where Jinja2 templates are used. This could lead to privilege escalation or unauthorized access depending on the deployment context. Red Hat rates the security impact as Important (medium severity). There are no known exploits in the wild at this time.
Mitigation Recommendations
Red Hat has released updated python-jinja2 packages that fix this vulnerability. Users of Red Hat Enterprise Linux 8 and 9, including Extended Update Support and Extended Life Cycle versions, should upgrade to the updated python-jinja2 packages as soon as they are available in their respective release channels. Instructions for upgrading OpenShift clusters and Red Hat Enterprise Linux systems are provided in the Red Hat advisories and documentation. No additional mitigations are required beyond applying the official updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2025:2612
- Cve Count
- 1
Threat ID: 6a1f4e8de29bf47b500852f3
Added to database: 06/02/2026, 21:43:41 UTC
Last enriched: 08/11/2026, 20:44:27 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 34
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.