{"id":"CVE-2026-42844","published":"2026-05-12T21:43:18Z","modified":"2026-05-13T14:28:31Z","title":"Grav: Low-privileged API users can create super-admin accounts via blueprint-upload","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00336,"percentile":0.27657,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.53},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["2.0.0-beta.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-13T14:28:07.384843Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.0-beta.4"],"patched":["2.0.0-beta.4"],"from":["GHSA-6xx2-m8wv-756h"],"provenance":"source"}],"summary":{"text":"The flaw is in Grav, a file-based web platform, specifically in its API's blueprint-upload endpoint (/api/v1/blueprint-upload), which lets an authenticated user write files into the accounts directory with insufficient restriction. An attacker holding a low-privileged API account with media write permission over the network, with no user interaction required, can write an arbitrary YAML account file, log in as that new account, and gain super-admin API privileges, resulting in full administrative control of the Grav API.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:07Z"},"euvd":{"id":"EUVD-2026-29857","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-42842","published":"2026-05-11","fixed":"2.0.0-beta.2","kev":false},{"cve":"CVE-2026-56701","published":"2026-06-23","fixed":"2.0.0-beta.2","kev":false},{"cve":"CVE-2026-7317","published":"2026-04-28","fixed":"2.0.0-beta.2","kev":false},{"cve":"CVE-2026-42844","published":"2026-05-12","fixed":"2.0.0-beta.4","kev":false},{"cve":"CVE-2026-44738","published":"2026-05-11","fixed":"2.0.0-rc.2","kev":false,"link":{"from":"CVE-2026-42844","to":"CVE-2026-44738","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"2.0.0-beta.4","toFixed":"2.0.0-rc.2","daysApart":-1}]}},{"cve":"CVE-2026-53653","published":"2026-07-10","fixed":"2.0.0-rc.8","kev":false},{"cve":"CVE-2026-55890","published":"2026-07-10","fixed":"2.0.0-rc.9","kev":false}],"package":"Packagist:getgrav/grav"}}