MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-46627

Twig: Sandbox resource exhaustion via unbounded `for` / `range()`

Not on CISA KEVCVSS 7.1 (v4.0)
  • Overview

Summary

Twig is a template language for PHP. Prior to 3.26.0, the Twig sandbox does not prevent a template from consuming CPU, memory, or wall-clock time, even under the strictest allow-list, allowing untrusted templates to cause resource exhaustion. This issue is addressed in version 3.26.0 by documenting

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)