Skip to content

Update jinja2 requirement from >=3.1.5 to >=3.1.6#906

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/jinja2-gte-3.1.6
Closed

Update jinja2 requirement from >=3.1.5 to >=3.1.6#906
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/jinja2-gte-3.1.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on jinja2 to permit the latest version.

Release notes

Sourced from jinja2's releases.

3.1.6

This is the Jinja 3.1.6 security release, which fixes security issues but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Jinja2/3.1.6/ Changes: https://jinja.palletsprojects.com/en/stable/changes/#version-3-1-6

  • The |attr filter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. GHSA-cpwx-vrp4-4pq7
Changelog

Sourced from jinja2's changelog.

Version 3.1.6

Released 2025-03-05

  • The |attr filter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. :ghsa:cpwx-vrp4-4pq7

Version 3.1.5

Released 2024-12-21

  • The sandboxed environment handles indirect calls to str.format, such as by passing a stored reference to a filter that calls its argument. :ghsa:q2x7-8rv6-6q7h
  • Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax. :issue:1792, :ghsa:gmj6-6f8f-6699
  • Sandbox does not allow clear and pop on known mutable sequence types. :issue:2032
  • Calling sync render for an async template uses asyncio.run. :pr:1952
  • Avoid unclosed auto_aiter warnings. :pr:1960
  • Return an aclose-able AsyncGenerator from Template.generate_async. :pr:1960
  • Avoid leaving root_render_func() unclosed in Template.generate_async. :pr:1960
  • Avoid leaving async generators unclosed in blocks, includes and extends. :pr:1960
  • The runtime uses the correct concat function for the current environment when calling block references. :issue:1701
  • Make |unique async-aware, allowing it to be used after another async-aware filter. :issue:1781
  • |int filter handles OverflowError from scientific notation. :issue:1921
  • Make compiling deterministic for tuple unpacking in a {% set ... %} call. :issue:2021
  • Fix dunder protocol (copy/pickle/etc) interaction with Undefined objects. :issue:2025
  • Fix copy/pickle support for the internal missing object. :issue:2027
  • Environment.overlay(enable_async) is applied correctly. :pr:2061
  • The error message from FileSystemLoader includes the paths that were searched. :issue:1661
  • PackageLoader shows a clearer error message when the package does not contain the templates directory. :issue:1705
  • Improve annotations for methods returning copies. :pr:1880
  • urlize does not add mailto: to values like @a@b. :pr:1870

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 11, 2026
Updates the requirements on [jinja2](https://github.com/pallets/jinja) to permit the latest version.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/jinja2-gte-3.1.6 branch from 4960ab9 to 30f373f Compare May 11, 2026 20:44

@FlorianBracq FlorianBracq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me!

@ianhelle

ianhelle commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Superseded by #909 which bumps jinja2 to >=3.1.6 along with 12 other security dependency updates.

@ianhelle

ianhelle commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Closing — covered by #909.

@ianhelle ianhelle closed this Jun 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/jinja2-gte-3.1.6 branch June 4, 2026 20:42
ianhelle added a commit that referenced this pull request Jun 4, 2026
Address 13 packages flagged by Component Governance with known CVEs:

Direct dependencies:
- azure-core >=1.38.0 (CVE-2026-21226 - RCE via deserialization)
- cryptography >=46.0.7 (CVE-2026-26007, CVE-2026-34073, CVE-2026-39892)
- jinja2 >=3.1.6 (CVE-2024-56326, CVE-2024-56201, CVE-2025-27516)
- lxml >=6.1.1 (CVE-2026-41066 XXE, CVE-2025-7424, CVE-2025-11731)
- pyjwt >=2.13.0 (CVE-2026-32597 + 5 others)
- urllib3 >=2.7.0 (CVE-2025-50181/50182, CVE-2025-66418/66471)

Transitive dependencies (security floor pins):
- aiohttp >=3.14.0 (CVE-2026-34993 RCE, CVE-2026-47265)
- h11 >=0.16.0 (CVE-2025-43859 request smuggling)
- idna >=3.15 (CVE-2026-45409 DoS)
- jaraco.context >=6.1.0 (CVE-2026-23949 Zip Slip)
- Pillow >=12.2.0 (CVE-2026-25990 + 4 others)
- tornado >=6.5.5 (CVE-2024-52804 + 3 others)
- filelock >=3.20.3 (CVE-2025-68146 TOCTOU race)

Supersedes dependabot PRs #905 (cryptography) and #906 (jinja2).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants