Arbitrary file upload in Getgrav Grav

CVE-2026-61457

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 contains a file upload extension bypass in the API media controller. HandlesMediaUploads::validateFileExtension() inspects only the final file extension via pathinfo($filename, PAT…

Vulnerability class: Unrestricted File Upload

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-61457?
CVE-2026-61457 is a high-severity vulnerability in Getgrav Grav, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2026-07-15.
How severe is CVE-2026-61457?
High severity. CVSS v3 base score is 8.8 out of 10.