{"id":"CVE-2026-42844","summary":"Grav: Low-privileged API users can create super-admin accounts via blueprint-upload","details":"Grav is a file-based Web platform. In Grav 2.0.0-beta.2, a low-privileged authenticated API user with api.media.write can abuse /api/v1/blueprint-upload to write an arbitrary YAML file into user/accounts/, then log in as the newly created account with api.super privileges. This results in full administrative compromise of the Grav API. This vulnerability is fixed in API 1.0.0-beta.17.","aliases":["GHSA-6xx2-m8wv-756h"],"modified":"2026-07-15T01:49:04.719175300Z","published":"2026-05-12T21:43:18.259Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42844.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-269","CWE-434"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42844.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42844"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav","events":[{"introduced":"3077b04b220318883ed34b6ae2a6cd0f25dba92e"},{"last_affected":"3077b04b220318883ed34b6ae2a6cd0f25dba92e"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.0.0-beta.2"},{"last_affected":"2.0.0-beta.2"}]}}],"versions":["2.0.0-beta.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42844.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}