CVE-2026-46634Disclosure(symfony / twig)

LOWCVSS 9.8 · CRITICAL

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch symfony twig systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-693

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • twig

Threat summary

  • Patch or workaround signal is available
  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 2 signals
  • Disclosure: 1 classified signal
  • Peaked 1d ago at 1 mentions (2026-05-20); latest day: 1
  • 2 total mentions across 2 days

Affected systems

Vendors
Products
twig

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-05-20: 1Mentions · 2026-08-11: 1Patch / Workaround · 2026-08-11: 1Technical Details · 2026-05-20: 1Technical Details · 2026-08-11: 105-2008-11
Signal classification2 categories
Disclosure
150.0%
Patch
150.0%
Referenced assets2 URLs
Classification over time
DateTotalLabels
2026-05-201
Disclosure1
2026-08-111
Patch1
Full discourse2 posts
  • Symfony@symfony
    Disclosure

    🔐 CVE-2026-46634: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name ➡️ https://symfony.com/blog/cve-2026-46634-template-from-string-escapes-a-sourcepolicy-driven-sandbox-via-synthesized-template-name

    Post summary

    The Symfony blog post announces CVE‑2026‑46634, detailing how `template_from_string()` can escape a SourcePolicy‑controlled sandbox through a synthesized template name.

    020901.4K
    45.2K followersView on X
  • takenaka hiroya@Joe_Biden_ja
    Patch

    Twig 3.9.0以上3.26.0未満で、template_from_string() が作る内部テンプレート名がサンドボックス判定の外に落ちます。書き手を信頼せずテンプレートを開放している構成が対象。修正は3.26.0。影響有無の切り分け方と更新前の緩和策をまとめました。 https://cve.autoarticles.net/cve/CVE-2026-46634

    Post summary

    The post highlights a sandbox‑bypass flaw in Twig 3.9.0–3.25.x, notes that the fix is available in 3.26.0, and outlines mitigations to use before updating.

    0000058
    561 followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appsymfonytwig---

Explore more