CVE-2026-46639 Twig: Sandbox property and method bypass via object-destructuring assignment
설명
Twig is a template language for PHP. From 3.24.0 until 3.26.0, object-destructuring assignment compiles CoreExtension::getAttribute() with the sandbox argument hardcoded to false, disabling property and method policy checks and allowing an attacker with write access to a sandboxed Twig template to read public properties or invoke public getters on objects passed to the template engine. This issue is fixed in version 3.26.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
twigphp
Twig
영향 받는 버전
- 3.24.0 이상 3.26.0 미만
해결 버전
- 3.26.0 이상