CVE-2025-27516

HIGHNVD 8.88.8
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 69% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
8.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 8.8Exploit: NoneExposed: 0

A fix is available — apply it.

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.

CVSS v3
8.8
EG Score
8.8(medium)
EPSS
38.0%
KEV
Not listed

Published

March 5, 2025

Last Modified

November 3, 2025

Patch Availability(30)

Vendor / EcosystemFixed in / PatchReleasedSource
redhatopenshift4/ose-ansible-rhel9-operator:v4.16.0-202504251337.p0.g0719399.assembly.stream.el92025-05-15redhat
redhatpython-jinja2-0:3.1.6-1.el10_02025-05-13redhat
redhatopenshift4/ose-olm-operator-controller-rhel9:v4.17.0-202504281009.p0.g8bc0220.assembly.stream.el92025-05-09redhat
redhatopenshift4/ose-ansible-operator:v4.12.0-202504071758.p0.g0bd975e.assembly.stream.el82025-05-08redhat
redhatopenshift4/ose-ansible-rhel9-operator:v4.17.0-202504231305.p0.gc649d73.assembly.stream.el92025-04-30redhat
redhatopenshift4/ose-ansible-rhel9-operator:v4.18.0-202504160934.p0.gb276665.assembly.stream.el92025-04-22redhat
redhatopenshift4/ose-ansible-operator:v4.13.0-202503310300.p0.g01bfabb.assembly.stream.el82025-04-17redhat
redhatopenshift4/ose-olm-operator-controller-rhel9:v4.18.0-202504090803.p0.gd1ac0f8.assembly.stream.el92025-04-16redhat
redhatopenshift4/ose-ansible-operator:v4.15.0-202503310336.p0.g52fc4b9.assembly.stream.el82025-04-16redhat
redhatopenshift4/ose-ansible-operator:v4.14.0-202503310335.p0.g0ad973f.assembly.stream.el82025-04-09redhat
redhatpython-jinja2-0:2.10.1-2.el8_2.42025-04-08redhat
redhatpython-jinja2-0:2.10.1-4.el8_6.22025-04-07redhat
redhatpython-jinja2-0:2.11.3-5.el9_22025-04-03redhat
redhatrhdh/rhdh-hub-rhel9:1.4.3-17436524612025-04-03redhat
redhatpython-jinja2-0:2.10.1-2.el8_4.22025-04-03redhat
redhatpython-jinja2-0:2.11.3-7.el9_42025-04-03redhat
redhatpython-jinja2-0:2.10.1-5.el8_82025-04-03redhat
redhatpython-jinja2-0:2.11.3-5.el9_02025-04-03redhat
redhatpython-jinja2-0:2.10.1-7.el8_102025-03-31redhat
redhatpython-jinja2-0:2.11.3-8.el9_52025-03-31redhat
redhatrhdh/rhdh-hub-rhel9:1.52025-03-27redhat
redhatopenstack-ansible-core-0:2.14.2-4.7.el9ost2025-03-27redhat
redhatpython3.11-jinja2-0:3.1.6-1.el9ap2025-03-25redhat
redhatansible-automation-platform-25/lightspeed-rhel8:2.5.250318-22025-03-25redhat
redhatansible-automation-platform-24/lightspeed-rhel8:2.4.250225-52025-03-24redhat
redhatpython-jinja2-0:3.1.6-1.el9ap2025-03-24redhat
redhatfence-agents-0:4.10.0-76.el9_5.62025-03-24redhat
redhatfence-agents-0:4.10.0-43.el9_2.122025-03-24redhat
redhatfence-agents-0:4.10.0-20.el9_0.212025-03-18redhat
redhatfence-agents-0:4.10.0-62.el9_4.112025-03-12redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
PyPI(1)
PackageVulnerable rangeFixed inDependents
jinja22.0 ... 3.1.5 (51 versions)3.1.6

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(12)

Data Freshness Timeline

(refreshed 12× in last 7d / 49× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-16 17:02 UTCEPSS rescore
  2. 2026-07-15 16:57 UTCEPSS rescore
  3. 2026-07-15 16:57 UTCEPSS rescore
  4. 2026-07-15 01:59 UTCEPSS rescore
  5. 2026-07-15 01:59 UTCEPSS rescore
  6. 2026-07-13 22:29 UTCEPSS rescore
  7. 2026-07-13 06:12 UTCEPSS rescore
  8. 2026-07-13 06:12 UTCEPSS rescore
  9. 2026-07-12 05:46 UTCEPSS rescore
  10. 2026-07-12 05:46 UTCEPSS rescore
  11. 2026-07-11 08:27 UTCEPSS rescore
  12. 2026-07-11 08:27 UTCEPSS rescore
  13. 2026-07-09 19:09 UTCEPSS rescore
  14. 2026-07-08 15:14 UTCEPSS rescore
  15. 2026-07-07 13:45 UTCEPSS rescore
  16. 2026-07-07 08:21 UTCOSV refresh
  17. 2026-07-06 16:27 UTCEPSS rescore
  18. 2026-07-06 16:26 UTCEPSS rescore
  19. 2026-07-06 02:22 UTCEPSS rescore
  20. 2026-07-05 02:30 UTCEPSS rescore
  21. 2026-07-04 06:30 UTCEPSS rescore
  22. 2026-07-02 17:01 UTCEPSS rescore
  23. 2026-07-01 15:06 UTCEPSS rescore
  24. 2026-06-30 23:22 UTCEPSS rescore
  25. 2026-06-30 23:21 UTCEPSS rescore
Show 57 more
  1. 2026-06-29 14:06 UTCEPSS rescore
  2. 2026-06-28 14:07 UTCEPSS rescore
  3. 2026-06-28 14:07 UTCEPSS rescore
  4. 2026-06-28 04:55 UTCEPSS rescore
  5. 2026-06-28 04:55 UTCEPSS rescore
  6. 2026-06-27 03:08 UTCEPSS rescore
  7. 2026-06-25 13:49 UTCEPSS rescore
  8. 2026-06-25 13:49 UTCEPSS rescore
  9. 2026-06-24 14:04 UTCEPSS rescore
  10. 2026-06-24 14:04 UTCEPSS rescore
  11. 2026-06-23 21:32 UTCEPSS rescore
  12. 2026-06-23 21:32 UTCEPSS rescore
  13. 2026-06-22 14:25 UTCEPSS rescore
  14. 2026-06-22 14:25 UTCEPSS rescore
  15. 2026-06-21 14:56 UTCEPSS rescore
  16. 2026-06-21 14:56 UTCEPSS rescore
  17. 2026-06-21 01:59 UTCEPSS rescore
  18. 2026-06-21 01:59 UTCEPSS rescore
  19. 2026-06-19 19:25 UTCEPSS rescore
  20. 2026-06-19 19:25 UTCEPSS rescore
  21. 2026-06-18 19:35 UTCOSV refresh
  22. 2026-06-18 17:52 UTCEPSS rescore
  23. 2026-06-18 17:52 UTCEPSS rescore
  24. 2026-06-17 17:52 UTCEPSS rescore
  25. 2026-06-16 17:52 UTCEPSS rescore
  26. 2026-06-16 17:52 UTCEPSS rescore
  27. 2026-06-15 17:48 UTCEPSS rescore
  28. 2026-06-14 23:17 UTCEPSS rescore
  29. 2026-06-13 23:00 UTCEPSS rescore
  30. 2026-06-13 23:00 UTCEPSS rescore
  31. 2026-06-12 23:11 UTCEPSS rescore
  32. 2026-06-11 13:59 UTCEPSS rescore
  33. 2026-06-10 22:18 UTCEPSS rescore
  34. 2026-06-10 13:22 UTCEPSS rescore
  35. 2026-06-08 14:16 UTCEPSS rescore
  36. 2026-06-08 14:16 UTCEPSS rescore
  37. 2026-06-07 15:24 UTCEPSS rescore
  38. 2026-06-07 15:24 UTCEPSS rescore
  39. 2026-06-06 13:47 UTCEPSS rescore
  40. 2026-06-06 13:47 UTCEPSS rescore
  41. 2026-06-05 22:46 UTCEPSS rescore
  42. 2026-06-05 22:46 UTCEPSS rescore
  43. 2026-06-05 06:10 UTCEPSS rescore
  44. 2026-06-05 06:10 UTCEPSS rescore
  45. 2026-06-04 13:12 UTCEPSS rescore
  46. 2026-06-04 13:11 UTCEPSS rescore
  47. 2026-06-02 20:12 UTCEPSS rescore
  48. 2026-06-01 13:51 UTCEPSS rescore
  49. 2026-06-01 13:51 UTCEPSS rescore
  50. 2026-05-31 22:30 UTCEPSS rescore
  51. 2026-05-31 22:30 UTCEPSS rescore
  52. 2026-05-31 00:16 UTCEPSS rescore
  53. 2026-05-31 00:16 UTCEPSS rescore
  54. 2026-05-30 10:05 UTCEG score recompute
  55. 2026-05-30 10:05 UTCVendor advisory
  56. 2026-05-30 07:59 UTCOSV refresh
  57. 2026-05-29 13:44 UTCEPSS rescore

Frequently asked(5)

What is CVE-2025-27516?
CVE-2025-27516 is a high vulnerability published on March 5, 2025. 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…
When was CVE-2025-27516 disclosed?
CVE-2025-27516 was first published in the National Vulnerability Database on March 5, 2025, with the most recent update on November 3, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2025-27516 actively exploited?
CVE-2025-27516 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 38.0% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2025-27516?
CVE-2025-27516 has a CVSS v3 base score of 8.8 (NVD).
How do I remediate CVE-2025-27516?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2025-27516, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-27516

Explore →

Is Your Infrastructure Affected by CVE-2025-27516?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.