CVE-2026-72781
Beschrijving NL
Craft CMS-versies >= 5.0.0-RC1 vóór 5.10.7 en >= 4.0.0-RC1 vóór 4.18.3 bevatten een kwetsbaarheid voor uitvoering van code op afstand in het Twig-sandboxmechanisme. Omdat Craft de ElementInterface als veilig markeert (via het attribuut AllowedInSandbox) en de allowlist van de sandbox zich uitstrekt tot de hele klassenhiërarchie (craftbaseComponent tot en met yiibaseComponent), kan een geauthenticeerde aanvaller met toestemming om toegang te krijgen tot het bedieningspaneel een kwaadaardige Twig-template renderen die misbruik maakt van de willekeurige functie-aanroep-gadget van yiibaseComponent om willekeurige code uit te voeren, zelfs wanneer de Twig-sandbox is ingeschakeld via enableTwigSandbox().
Origineel (Engels) tonen
Craft CMS versions >= 5.0.0-RC1 before 5.10.7 and >= 4.0.0-RC1 before 4.18.3 contain a remote code execution vulnerability in the Twig sandbox mechanism. Because Craft marks the ElementInterface as safe (via the AllowedInSandbox attribute) and the sandbox allowlisting extends to the entire class hierarchy (craftbaseComponent up to yiibaseComponent), an authenticated attacker with permission to access the control panel can render a malicious Twig template that abuses the yiibaseComponent arbitrary function-call gadget to execute arbitrary code, even when the Twig sandbox is enabled via enableTwigSandbox().