Description
Grav Flex Objects Plugin allows you to build custom collections of objects. Prior to 1.4.3, the Grav Flex Objects Admin Next API requireFlexPermission() method in classes/Api/FlexApiController.php returns without denying access when a directory blueprint omits config.admin.permissions. An authenticated account with only api.access can use the index, show, create, update, delete, export, and media handlers for a permission-less directory even though the core admin.flex-object. authorization fallback would deny the same actions. This issue is fixed in version 1.4.3.
Published: 2026-08-19
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Grav Flex Objects Plugin contains a fail‑open authorization flaw in the Admin‑Next API. The requireFlexPermission() method in FlexApiController.php returns without denying when a directory blueprint omits config.admin.permissions. An authenticated user who has only the api.access role can therefore call the index, show, create, update, delete, export, and media handlers for a permission‑less directory, giving full CRUD capability. This allows the user to add, modify, or delete content that should have been restricted. The weakness is a missing else‑deny check, categorized as CWE‑862.

Affected Systems

All installations of the Grav Flex Objects Plugin older than version 1.4.3 are affected. This includes all releases of the getgrav:grav-plugin‑flex‑objects package that precede the 1.4.3 release.

Risk and Exploitability

The CVSS score of 6.3 labels this vulnerability as Medium severity. Based on the description, it is inferred that the attack vector is via authenticated requests to the Admin‑Next API. The EPSS score of 0.00244 indicates that exploitation is unlikely (less than 1%), and the issue is not listed in the CISA KEV catalog. Exploitation requires only an authenticated user possessing the api.access role, which is typically granted to developers or front‑end applications. No special network access or additional privileges are required beyond normal API authentication, making the attack vector straightforward. Because the vulnerability allows full CRUD operations, an attacker could alter or delete site content, potentially causing data loss or subsequent security compromise. The risk is therefore moderate to high for sites that expose the API without proper role restrictions.

Generated by OpenCVE AI on August 20, 2026 at 15:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grav Flex Objects to version 1.4.3 or later.
  • Restrict the api.access role to trusted users or disable it for public API access.
  • Configure all Flex Objects directories with config.admin.permissions so that the core permission checks are enforced.

Generated by OpenCVE AI on August 20, 2026 at 15:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Getgrav
Getgrav grav-plugin-flex-objects
Vendors & Products Getgrav
Getgrav grav-plugin-flex-objects

Wed, 19 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description Grav Flex Objects Plugin allows you to build custom collections of objects. Prior to 1.4.3, the Grav Flex Objects Admin Next API requireFlexPermission() method in classes/Api/FlexApiController.php returns without denying access when a directory blueprint omits config.admin.permissions. An authenticated account with only api.access can use the index, show, create, update, delete, export, and media handlers for a permission-less directory even though the core admin.flex-object. authorization fallback would deny the same actions. This issue is fixed in version 1.4.3.
Title Fail-open authorization in grav-plugin-flex-objects admin-next API: api.access user gets full CRUD on permission-less directories (requireFlexPermission missing else-deny)
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}


Subscriptions

Getgrav Grav-plugin-flex-objects
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T15:41:54.614Z

Reserved: 2026-07-14T20:22:04.394Z

Link: CVE-2026-62670

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T16:18:19.600

Modified: 2026-08-19T16:18:19.600

Link: CVE-2026-62670

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T15:15:03Z

Weaknesses