CVE-2026-81892: Easycorp/easyadmin bundle EasyAdmin Custom-action Dispatcher Bypasses Access_control Vulnerability

HIGH
Advisory Identifier: GHSA-g2fm-8hr4-j82h
CVSS 8.1
CWE-639 CWE-862 CWE-863
Published
Advisory Summary

CVE-2026-81892 is a HIGH (CVSS 8.1) easyadmin custom-action dispatcher bypasses access_control vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Easycorp/easyadmin bundle libraries in the Packagist ecosystem. The issue involves easyadmin custom-action dispatcher bypasses access_control on other routes. Remediation is available by upgrading affected packages to version 4.29.16, 5.5.1.

CVE-2026-81892 at a Glance

CVE Identifier CVE-2026-81892
GHSA Identifier GHSA-g2fm-8hr4-j82h
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Easycorp/easyadmin bundle
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-81892

To remediate this vulnerability, upgrade all affected Easycorp/easyadmin bundle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

easycorp/easyadmin-bundle fixed: 4.29.16
Upgrade easycorp/easyadmin-bundle to 4.29.16
easycorp/easyadmin-bundle fixed: 5.5.1
Upgrade easycorp/easyadmin-bundle to 5.5.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for easycorp/easyadmin-bundle

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-81892, inspect your project dependencies for Easycorp/easyadmin bundle:

inspect dependencies for easycorp/easyadmin-bundle

Analyze the terminal output to locate any version of Easycorp/easyadmin bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.29.16), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Easycorp/easyadmin bundle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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.

CVE-2026-81892 Affected Easycorp/easyadmin bundle Versions

2 component(s)
Fixed Versions:
4.29.165.5.1
Product / Package Ecosystem Affected Versions Fixed Version
easycorp/easyadmin-bundle
Packagist
≥ 4.0.0
< 4.29.16
4.29.16
easycorp/easyadmin-bundle
Packagist
≥ 5.0.0
< 5.5.1
5.5.1

References

Frequently Asked Questions

What is CVE-2026-81892?
CVE-2026-81892 is a security vulnerability in Easycorp/easyadmin bundle involving EasyAdmin custom-action dispatcher bypasses access_control on other routes under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Easycorp/easyadmin bundle versions are affected?
Affected versions include releases prior to 4.29.16, 5.5.1 across affected packages: easycorp/easyadmin-bundle.
What version fixes CVE-2026-81892?
Upgrading to 4.29.16, 5.5.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is easycorp/easyadmin-bundle affected?
Yes, easycorp/easyadmin-bundle is affected in releases prior to 4.29.16, 5.5.1. Upgrade your dependency to 4.29.16, 5.5.1 or later.
What is the CVSS score of CVE-2026-81892?
CVE-2026-81892 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-81892?
CVE-2026-81892 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Packagist dependencies for CVE-2026-81892?
Run the dependency tree command: 'inspect dependencies for easycorp/easyadmin-bundle'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g2fm-8hr4-j82h",
  "modified" : "2026-09-02T14:39:11Z",
  "published" : "2026-09-02T14:39:11Z",
  "aliases" : [ "CVE-2026-81892" ],
  "summary" : "EasyAdmin custom-action dispatcher bypasses access_control on other routes",
  "details" : "## Summary\n\nEasyAdmin 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.\n\nThat 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.\n\n## Impact\n\nAny 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.\n\nOnly **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.\n\n## Patches\n\nFixed 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.\n\n## Workarounds\n\nAdd controller-level authorization (`#[IsGranted]` / `denyAccessUnlessGranted()`) to any sensitive route, since controller-level checks are still enforced. Upgrading is the recommended fix.\n\n## Credits\n\nReported by @TungNGo02.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "easycorp/easyadmin-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.29.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "easycorp/easyadmin-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.5.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/EasyCorp/EasyAdminBundle/security/advisories/GHSA-g2fm-8hr4-j82h"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-81892"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/EasyCorp/EasyAdminBundle/commit/03be45c6b7213c4c984a1d0542b7ec60359329f8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/EasyCorp/EasyAdminBundle/commit/6228dfef598d81eeb0baa35625e50812f3c77699"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/EasyCorp/EasyAdminBundle"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/EasyCorp/EasyAdminBundle/releases/tag/v4.29.16"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/EasyCorp/EasyAdminBundle/releases/tag/v5.5.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/easycorp/easyadmin-bundle/CVE-2026-81892.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639", "CWE-862", "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-02T14:39:11Z",
    "nvd_published_at" : "2026-08-31T21:17:52Z"
  }
}