CVE-2024-45411Published Sep 9, 2024 · Sep 9Updated Oct 28
Twig has a possible sandbox bypass
twigphp Twig
High8.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| twig/twig Packagist |
|
|
twigphp Twig
| Product | Affected | Fixed in |
|---|---|---|
| twig/twig Packagist |
|
|
Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.
From the CVE record · GitHub_M
Twig may skip sandbox security checks under some circumstances. An attacker who can contribute templates could bypass sandbox restrictions; the input does not specify whether authentication or other user interaction is required.
Teams using Packagist twig/twig in the listed affected 1.x, 2.x, or 3.x ranges should check their installed version.