Authorization Bypass Through User-Controlled Key Affecting easycorp/easyadmin-bundle package, versions >=4.0.0, <4.29.16>=5.0.0, <5.5.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-EASYCORPEASYADMINBUNDLE-18902477
  • published18 Aug 2026
  • disclosed12 Aug 2026
  • creditTungNGo02

Introduced: 12 Aug 2026

New CVE NOT AVAILABLE CWE-639  (opens in a new tab)

How to fix?

Upgrade easycorp/easyadmin-bundle to version 4.29.16, 5.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through the AdminRouterSubscriber in src/EventListener/AdminRouterSubscriber.php. An attacker can reach a more restricted Symfony route by sending a backend request with ?routeName=... that makes EasyAdmin swap in the target controller after the firewall has already evaluated access_control against the original admin URL. This lets a low-privilege backend user invoke a route that should be limited by path-based security rules, exposing protected controller responses and any sensitive functionality behind them.

Workarounds

  • Add controller-level authorization such as #[IsGranted] or denyAccessUnlessGranted() to sensitive routes, so access is enforced even if the route is reached through EasyAdmin’s ?routeName= dispatch.

CVSS Base Scores

version 4.0
version 3.1