Arbitrary file upload in Grav
CVE-2026-58654
The Grav API plugin (getgrav/grav-plugin-api) 1.0.0 contains an unrestricted file upload vulnerability in the avatar upload endpoint (/api/v1/users/user/avatar). The endpoint validates only the client-declared MIME type (getClientMediaType…
Vulnerability class: Unrestricted File Upload
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Grav — versions 0, 1.0.1
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-58654?
- CVE-2026-58654 is a medium-severity vulnerability in Grav, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 4.3/10. Published 2026-07-08.
- How severe is CVE-2026-58654?
- Medium severity. CVSS v3 base score is 4.3 out of 10.