CVE-2026-42844

Source
https://cve.org/CVERecord?id=CVE-2026-42844
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42844.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42844
Aliases
Published
2026-05-12T21:43:18.259Z
Modified
2026-07-15T01:49:04.719175300Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-269",
        "CWE-434"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42844.json"
}
References

Affected packages

Git / github.com/getgrav/grav

Affected ranges

Type
GIT
Repo
https://github.com/getgrav/grav
Events
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "2.0.0-beta.2"
        },
        {
            "last_affected": "2.0.0-beta.2"
        }
    ]
}

Affected versions

2.*
2.0.0-beta.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42844.json"