{"id":"CVE-2026-42844","state":"PUBLISHED","title":"Grav: Low-privileged API users can create super-admin accounts via blueprint-upload","description":"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.","publishedAt":"2026-05-12T21:43:18.259Z","updatedAt":"2026-05-13T14:28:31.866Z","severity":{"score":8.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["getgrav grav"],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"2.0.0-beta.2","status":"affected"}]}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h"],"weaknesses":["CWE-434","CWE-269"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42844.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42844","state":"PUBLISHED","datePublished":"2026-05-12T21:43:18.259Z","dateUpdated":"2026-05-13T14:28:31.866Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-30T16:44:48.376Z"},"containers":{"cna":{"title":"Grav: Low-privileged API users can create super-admin accounts via blueprint-upload","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"2.0.0-beta.2","status":"affected"}]}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h","name":"https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-269","lang":"en","description":"CWE-269: Improper Privilege Management","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-12T21:43:18.259Z"},"source":{"advisory":"GHSA-6xx2-m8wv-756h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-13T14:28:07.384843Z","id":"CVE-2026-42844","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-13T14:28:31.866Z"}}]}}}