The Grav API plugin before version 1.0.0-rc.16 has a security vulnerability that allows unauthenticated attackers to make fully authenticated cross-origin API requests. This is possible because the plugin accepts JWT tokens via the ?token= URL query parameter and responds with an Access-Control-Allow-Origin: * header. Attackers who obtain a leaked JWT token can create persistent backdoor super-admin accounts and exfiltrate sensitive configuration and user data. The vulnerability has a CVSS score of 8.7 and is considered HIGH severity.
CVE-2026-42844 debrief: In Grav 2.0.0-beta.2, low-privileged authenticated API users can abuse the /api/v1/blueprint-upload endpoint to create arbitrary admin accounts, leading to full administrative compromise of the Grav API. This vulnerability results from insufficient access controls on the blueprint-upload endpoint, allowing users with api.media.write permissions to write arbitrary YAML files into user/accounts/. Defenders should verify and remediate affected deployments, restrict access to the vulnerable endpoint, and monitor for suspicious activity.