A Twig sandbox bypass allows non-admin users to invoke PHP callables using the "has some" and "has every" operators. Users granted the System Messages permission can provide two-argument callables, such as `passthru` or `system`, within sandboxed templates to execute arbitrary code with the privileges of the web user.