Skip to content

Update dependency twig/twig to ^3.27.0#564

Merged
renovate[bot] merged 1 commit into
masterfrom
renovate/composer-all-minor-patch
May 27, 2026
Merged

Update dependency twig/twig to ^3.27.0#564
renovate[bot] merged 1 commit into
masterfrom
renovate/composer-all-minor-patch

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 27, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
twig/twig (source) ^3.26.0^3.27.0 age adoption passing confidence

Release Notes

twigphp/Twig (twig/twig)

v3.27.0

Compare Source

  • Add a strict mode to Twig\Sandbox\SecurityPolicy to opt-in to the 4.0 behavior for the extends/use tags and the parent/block/attribute functions, which are otherwise still implicitly allowed in a sandbox
  • Deprecate the fact that the parent, block, and attribute functions are always allowed in a sandboxed template
  • Fix sandbox filter/tag/function allow-list bypass when the sandbox state changed between renders of a cached Template instance
  • Fix PHP 8.1+ implicit float-to-int deprecation triggered by sandboxed ArrayAccess attribute access with a float key
  • Restrict allowed classes in Twig\Profiler\Profile::unserialize() to prevent arbitrary class instantiation
  • Escape root profile name in HtmlDumper
  • Fix sandbox bypass in deprecated internal wrappers twig_array_some(), twig_array_every(), and twig_check_arrow_in_sandbox() (src/Resources/core.php)
  • Deprecate the Twig\Sandbox\SourcePolicyInterface interface with no replacement
  • Fix sandbox bypass in the "column" filter when sandboxing is enabled via SourcePolicyInterface
  • Fix sandbox __toString bypass via Traversable arguments to the join and replace filters (also covers containers that implement both Stringable and Traversable)
  • Fix sandbox __toString bypass via the in and not in operators
  • Prevent a stack overflow in SandboxExtension::ensureToStringAllowed() when a self-referencing iterable is passed to a sandboxed template
  • Add support for any expression as a dynamic mapping key (attribute access, filters, ...)
  • Fix sandbox __toString policy bypass via dynamic mapping keys

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

| datasource | package   | from   | to     |
| ---------- | --------- | ------ | ------ |
| packagist  | twig/twig | 3.26.0 | 3.27.0 |
@renovate renovate Bot added the renovate label May 27, 2026
@renovate renovate Bot enabled auto-merge (squash) May 27, 2026 18:02
@renovate renovate Bot added the renovate label May 27, 2026
@renovate renovate Bot merged commit 2b4f137 into master May 27, 2026
1 check passed
@renovate renovate Bot deleted the renovate/composer-all-minor-patch branch May 27, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants