easycorp/easyadmin-bundle is vulnerable to Authorization Bypass
81
High Risk
EasyAdmin serves backend requests through a single dashboard route and, for custom actions created with Action::linkToRoute() or MenuItem::linkToRoute(), swaps the executed controller from the routeName query parameter on the kernel.controller event after Symfony's firewall has already evaluated access_control against the dashboard URL. Because that routeName was not re-checked against the target route's path-based rules, a low-privilege backend user who can reach EasyAdmin and knows a restricted route name can execute that route's controller and bypass the path-based protection. Controller-level checks such as #[IsGranted] remain enforced. The fix re-evaluates the target route's access_control rule before dispatching a custom-action route.
You are affected if you are using a version that falls within the vulnerable range and rely on path-based Symfony access_control rules to protect routes more strictly than the EasyAdmin dashboard URL, while using custom actions or menu items that link to those routes by name.
easycorp/easyadmin-bundle is vulnerable to Authorization Bypass in versions 4.0.0 - 4.29.15 and 5.0.0 - 5.5.0.
Upgrade the easycorp/easyadmin-bundle 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