EasyAdmin custom-action dispatcher bypasses access_control on other routes
High severity. Published 2 September 2026. Update easycorp/easyadmin-bundle to the fixed version of your branch (4.29.16, 5.5.1): composer update easycorp/easyadmin-bundle.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| easycorp/easyadmin-bundle (opens in a new tab) | >= 4.0.0, < 4.29.16 | >= 5.0.0, < 5.5.1 | 4.29.16, 5.5.1 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show easycorp/easyadmin-bundle
composer auditAdvisory details
| Severity | HighCVSS 8.1 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-81892 (opens in a new tab) |
| GHSA | GHSA-g2fm-8hr4-j82h (opens in a new tab) |
| Weakness | CWE-639, CWE-862, CWE-863 |
What the advisory says
Summary
EasyAdmin serves all backend requests through a single dashboard route and, for custom actions (Action::linkToRoute() / MenuItem::linkToRoute()), swaps the executed controller based on the routeName query parameter on the kernel.controller event.
That swap happens after Symfony's security firewall has already evaluated accesscontrol against the original dashboard URL, and the routeName value was not validated. As a result, a path-based accesscontrol rule protecting the target route was never evaluated, so a low-privilege backend user could reach a more restricted route by name.
Impact
Source: GHSA-g2fm-8hr4-j82h (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .