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

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.

Vendors: Getgrav.

Quick answers

Is CVE-2026-62670 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-62670 being exploited in the wild.
How severe is CVE-2026-62670?
Medium severity, with a CVSS score of 6.3, published 19 August 2026.
Which products and versions are affected?
Getgrav Flex Objects Plugin prior to 1.4.3.
Is there a fix for CVE-2026-62670?
A patch was published on 2026-06-29: Version 1.4.3 released with fix Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-62670 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-62670?
Check whether you run Getgrav Flex Objects Plugin at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.