CVE-2026-42844
published high CVSS 4.0 · 8.7Grav: Low-privileged API users can create super-admin accounts via blueprint-upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav2.0.0-beta.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 2.0.0-beta.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
- CWE-269 CWE-269: Improper Privilege Management
References
1Provider assertions
2GitHub_M · cna
Grav: Low-privileged API users can create super-admin accounts via blueprint-upload
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fba36142a22cfe64ba1df229f02bcfed466eb66cd55b2f8109e1b335652a045f
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record