Microsoft security update for CVE-2025-27516
🔗 CVE IDs covered (1)
📋 Microsoft's advisory
EchelonGraph does not copy Microsoft's advisory page: its FAQ and remediation text are not shown here. Read the advisory on https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-27516. This page also shows what EchelonGraph holds for CVE-2025-27516, with the description from its CVE record, which the CVE Numbering Authority that assigned the CVE wrote: for a CVE Microsoft assigned, often in the words of Microsoft's own advisory.
🎯 Affected products9
- azl3 nodejs 20.14.0-7 on Azure Linux 3.0
- azl3 nodejs 20.14.0-8 on Azure Linux 3.0
- azl3 python-jinja2 3.1.2-3 on Azure Linux 3.0
- cbl2 nodejs18 18.20.3-5 on CBL Mariner 2.0
- cbl2 nodejs18 18.20.3-6 on CBL Mariner 2.0
- cbl2 nodejs18 18.20.3-6 on CBL-Mariner 2.0
- cbl2 python-jinja2 3.0.3-6 on CBL Mariner 2.0
- cbl2 python-jinja2 3.0.3-7 on CBL Mariner 2.0
- cbl2 python-jinja2 3.0.3-7 on CBL-Mariner 2.0
✅ Updates Microsoft lists: 4 updates
4 rows: one per KB article or update, update type and fixed build. Their details are on Microsoft's advisory.
| KB article | Update | Fixed build |
|---|---|---|
| — | Security Update | 3.0.3-6 |
| — | Security Update | 18.20.3-5 |
| — | Security Update | 20.14.0-7 |
| — | Security Update | 3.1.2-3 |
🧭 EchelonGraph on CVE-2025-27516
- EchelonGraph score
- 8.8 HIGH
- CISA KEV
- Not listed
- Fix status
- A fix is available — apply it.
Description from the CVE record (CVE.org), as published by its numbering authority
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 vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates. Jinja's sandbox does catch calls to str.format and ensures they don't escape the sandbox. However, it's possible to use the |attr filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the |attr filter no longer bypasses the environment's attribute lookup. This vulnerability is fixed in 3.1.6.
Published by GitHub, Inc., the CVE Numbering Authority that assigned CVE-2025-27516, in its CVE record at CVE.org; reused under the CVE Program's Terms of Use (its licence and MITRE's copyright notice are in our Terms of Service).