Summary
CVE-2026-112779 is an uncontrolled resource allocation vulnerability (CWE-770) in the Grav API plugin (grav-plugin-api by getgrav). It also includes missing page-level access control checks in the sync and batch copy endpoints. The CVE record rates it Critical, with a CVSS v4.0 base score of 9.3.
Technical details
- Root cause (resource exhaustion): The plugin caches a full translation dictionary for every well-formed language code sent to an unauthenticated endpoint. The cache has no limit.
- Root cause (access control): The sync and batch copy endpoints do not validate page-level access controls.
- Trigger conditions: For resource exhaustion, an attacker sends requests with many different well-formed language codes to the unauthenticated endpoint. For the access control flaw, the user must be authorized to use the API.
- Attack vector: Network. The resource exhaustion issue needs no authentication.
- Impact: Attackers can exhaust storage with a small number of requests, causing denial of service. Authorized users can bypass page-level permission restrictions through the sync and batch copy endpoints.
- Note: The public CVE record is brief. We could not retrieve the GitHub advisory (GHSA-8pcm-97fc-4xwh) to confirm further details. No public exploitation was verified.
Affected software
- Grav API plugin (grav-plugin-api): versions 1.0.16 up to, but not including, 1.0.42
Severity
- CVSS v4.0 base score: 9.3 (Critical). Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - The CVE record also lists a CVSS v3.1 base score of 9.8 (Critical). Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade the Grav API plugin to version 1.0.42 or later.
- If you cannot patch immediately: The sources we reviewed give no vendor workaround. As general hardening, restrict network access to the Grav API endpoints, especially the unauthenticated one. Monitor for abnormal storage growth, such as in the Grav cache directory.
- Review who has API access to the sync and batch copy endpoints until you have patched.

