Skip to content

Fix CVE-2026-46636, CVE-2026-48805/48806/48807/48808, CVE-2026-48736: bump twig/twig and symfony/http-foundation#2001

Closed
acquia-patchbot[bot] wants to merge 1 commit into
mainfrom
patchbot/fix-cve-2026-05-29-composer-security
Closed

Fix CVE-2026-46636, CVE-2026-48805/48806/48807/48808, CVE-2026-48736: bump twig/twig and symfony/http-foundation#2001
acquia-patchbot[bot] wants to merge 1 commit into
mainfrom
patchbot/fix-cve-2026-05-29-composer-security

Conversation

@acquia-patchbot
Copy link
Copy Markdown

Security Fix: Composer Dependency Bumps

Fixes 6 CVEs identified by composer audit / PHP Security Advisories:

twig/twig: v3.26.0 → v3.27.0 (require-dev)

CVE Summary
CVE-2026-46636 Sandbox filter/tag/function allowlist bypass when sandbox state changes between renders
CVE-2026-48805 Sandbox state regression in deprecated internal wrappers (src/Resources/core.php)
CVE-2026-48806 Sandbox __toString() policy bypass via dynamic mapping keys
CVE-2026-48807 Sandbox __toString() bypass via Traversable in join/replace/in/not in
CVE-2026-48808 Sandbox property allowlist bypass via column filter under SourcePolicyInterface

All disclosed 2026-05-27. Fixed in twig/twig 3.27.0.

symfony/http-foundation: v7.4.8 → v7.4.13

CVE Summary
CVE-2026-48736 IpUtils::PRIVATE_SUBNETS omits IPv6 transition forms (6to4, NAT64, Teredo) — SSRF bypass in NoPrivateNetworkHttpClient

Fixed in symfony/http-foundation 7.4.13 (disclosed 2026-05-26).

Note: symfony/http-foundation is a transitive dependency pulled in by symfony/http-kernel ^6.4.


Opened by Patchbot 🛡️

…→3.27 and symfony/http-foundation 7.4.8→7.4.13

- twig/twig: v3.26.0 -> v3.27.0 (CVE-2026-46636, CVE-2026-48805, CVE-2026-48806, CVE-2026-48807, CVE-2026-48808)
  All are Twig sandbox bypass vulnerabilities fixed in 3.27.0
- symfony/http-foundation: v7.4.8 -> v7.4.13 (CVE-2026-48736)
  IpUtils::PRIVATE_SUBNETS omits IPv6 transition forms → SSRF bypass in NoPrivateNetworkHttpClient
@acquia-patchbot
Copy link
Copy Markdown
Author

Closing — fix is already included in a separate PR by the team. Thanks!

@acquia-patchbot acquia-patchbot Bot closed this May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants