GHSA-g2fm-8hr4-j82h: High severity composer/easycorp/easyadmin-bundle vulnerability

Published Sep 2, 2026
·
Updated

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

Any application where accesscontrol (or another path-based Symfony security rule) protects some routes more strictly than the dashboard URL used to reach EasyAdmin. An attacker who can reach a single EasyAdmin URL and knows a target route's name can execute that route's controller, bypassing the path-based rule.

Only path-based protections are bypassed. Routes whose controller enforces its own authorization with #[IsGranted] / denyAccessUnlessGranted() remain protected, because those checks are recomputed against the swapped-in controller.

Patches

Fixed in 4.29.16 and 5.5.1. Before dispatching a custom-action route, EasyAdmin now re-evaluates the target route's accesscontrol rule and denies the request if the current user is not granted access.

Workarounds

Add controller-level authorization (#[IsGranted] / denyAccessUnlessGranted()) to any sensitive route, since controller-level checks are still enforced. Upgrading is the recommended fix.

Credits

Reported by @TungNGo02.

Affected Software

2 affected componentsFixes available
composer/easycorp/easyadmin-bundle>=5.0.0<5.5.1
5.5.1
composer/easycorp/easyadmin-bundle>=4.0.0<4.29.16
4.29.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/easycorp/easyadmin-bundle to a version that resolves this vulnerability.

    Fixed in 5.5.1
  2. Upgrade

    Upgrade composer/easycorp/easyadmin-bundle to a version that resolves this vulnerability.

    Fixed in 4.29.16
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.29.16
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.5.1
  5. Configuration

    Add controller-level authorization (e.g., `#[IsGranted]` or `denyAccessUnlessGranted()`) to any sensitive route/controller to ensure authorization is enforced even when EasyAdmin re-routes via the `routeName` query parameter.

    EasyAdmin (custom actions via Action::linkToRoute / MenuItem::linkToRoute) access_control enforcement = controller-level authorization (denyAccessUnlessGranted / #[IsGranted]) on sensitive controllers

Event History

Sep 2, 2026
Advisory Published
via GitHub·02:39 PM
Data Sourced
via GitHub·02:39 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

How can I determine whether an EasyAdmin deployment is exposed?

Review routes reachable through the EasyAdmin dashboard, especially custom actions or menu items linked with linkToRoute(). Exposure exists when a route has stricter path-based Symfony access_control protection than the dashboard URL and its controller does not independently enforce authorization.

2

Are routes protected by controller-level authorization affected?

No. Authorization enforced by #[IsGranted] or denyAccessUnlessGranted() is recomputed for the controller selected through the custom action, so those protections remain effective.

3

What does an attacker need to exploit this condition?

The attacker needs access to at least one EasyAdmin URL and knowledge of the target route's name. A low-privilege backend user can then invoke the target controller through the routeName query parameter when only a path-based rule protects that route.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203