highCVSS 8.1Vulnerability

CVE-2026-81892

## 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 `access_control` against the original dashboard URL, and the `routeName` value was not validated. As a result, a path-based `access_control` 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 `access_control` (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 `access_control` 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.

Properties

ghsa_id
GHSA-g2fm-8hr4-j82h
summary
EasyAdmin custom-action dispatcher bypasses access_control on other routes
severity
high
cvss_score
8.1
cve_id
CVE-2026-81892
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
is_ghsa_only
false
ghsa_published
2026-09-02T14:39:11Z
source_url
https://github.com/advisories/GHSA-g2fm-8hr4-j82h
ghsa_updated
2026-09-02T14:39:12Z

Related Entities (6)

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (1)

[Software]composer/easycorp/easyadmin-bundle

AFFECTS (1)

[Software]composer/easycorp/easyadmin-bundle

HAS_WEAKNESS (3)

[Weakness]Authorization Bypass Through User-Controlled Key
[Weakness]Missing Authorization
[Weakness]Incorrect Authorization

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-81892 (CVSS 8.1) — Ninja Signal Threat Intelligence | Ninja Signal