This repository was archived by the owner on May 29, 2026. It is now read-only.
fix(deps): bump twig/twig to 3.27.0 (5 sandbox CVEs)#286
Merged
Conversation
CVE-2026-48808 — sandbox property allowlist bypass via column filter CVE-2026-48805 — sandbox state regression in deprecated internal wrappers CVE-2026-46636 — sandbox filter/tag/function allowlist bypass on re-render CVE-2026-48806 — sandbox __toString() bypass via dynamic mapping keys CVE-2026-48807 — sandbox __toString() bypass via Traversable in join/replace/in twig/twig was a transitive dependency (via edgedesign/phpqa); updated lock file from v3.26.0 to v3.27.0. No composer.json change required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Security fix
Bumps the transitive dependency twig/twig from
v3.26.0tov3.27.0to resolve 5 sandbox-escape CVEs published 2026-05-27.columnfilter underSourcePolicyInterfacesrc/Resources/core.php__toString()policy bypass via dynamic mapping keys__toString()policy bypass viaTraversableinjoin/replaceandin/not inoperatorsChanges
composer.lockonly — twig is a transitive dependency pulled in byedgedesign/phpqa (~1.38|~2.7|>=3), nocomposer.jsonedit required.symfony/polyfill-mbstringandsymfony/polyfill-php81as they were resolved at the same time.composer auditis now clean of all twig advisories.Test plan
composer install --ignore-platform-reqssucceedscomposer auditreports no vulnerabilitiescomposer show twig/twigshowsv3.27.0