bolt/core is vulnerable to Remote Code Execution (RCE)
68
Medium Risk
Bolt's async upload endpoint does not enforce a location-specific role check, so a user holding the ROLE_EDITOR role can upload files such as .twig templates into the active theme directory that is intended to be writable only by administrators. The same user can then reference the uploaded template through a templateselect field, causing Bolt to compile and render the influenced Twig when the record is viewed. Because the rendered Twig runs in the full application environment, missing authorization chains can lead to code execution as the web server user. The fix adds the missing authorization check to the upload controller so editors can no longer write into protected theme locations.
You are affected if you are using a version that falls within the vulnerable range and you grant non-administrator users the ROLE_EDITOR role.
bolt/core is vulnerable to Remote Code Execution (RCE) in versions 0.0.1 - 6.1.6.
Upgrade the bolt/core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant