Junglewise Threat Intelligence

CVE-2026-62670: Grav Flex Objects Plugin authorization bypass in admin-next API

CVE-2026-62670 · Severity: medium · CVSS 6.3 · Published 2026-08-19

Vendors: Getgrav.

Executive brief

The Grav Flex Objects Plugin is used to manage custom data collections through a REST API. When a directory is configured without explicit permission rules, the API fails to enforce default access controls, allowing any authenticated user with basic API access to read, create, update, delete, and export all objects in that directory—bypassing the security protections that normally apply to other directories.

Technical details

This is an authorization bypass caused by a fail-open defect in the requireFlexPermission() method of FlexApiController.php. When a directory blueprint omits the config.admin.permissions block, the method returns without denying access after only a basic api.access permission check, rather than falling back to the framework's default-deny policy (admin.flex-object.<action>). An authenticated user holding only api.access—with no directory-specific permissions—gains full CRUD, export, and media access to all permission-less directories via the REST API, even though the core authorization system and the directory listing would deny those same actions. The vulnerability affects all CRUD handlers (index, show, create, update, delete, export, media). The defect was introduced when the admin-next API was added and fixed in version 1.4.3.

Affected products

  • Getgrav Flex Objects Plugin prior to 1.4.3

Timeline

  • 2026-06-29: disclosed: GitHub Security Advisory GHSA-23vq-365v-qcmh published
  • 2026-06-29: patched: Version 1.4.3 released with fix
  • 2026-08-19: advisory: CVE-2026-62670 published

References