๐Ÿ” CVE Alert

CVE-2026-61457

HIGH 8.8

Grav before 1.0.3 Remote Code Execution via File Upload Extension Bypass

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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, PATHINFO_EXTENSION), so a user with api.media.write permission can upload a file with a double extension such as shell.php.jpg to bypass the dangerous extensions blocklist. The web server may then execute the file as PHP, resulting in remote code execution.

CWE CWE-434
Vendor getgrav
Product grav
Published Jul 15, 2026
Last Updated Jul 15, 2026
Stay Ahead of the Next One

Get instant alerts for getgrav grav

Be the first to know when new high vulnerabilities affecting getgrav grav are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

getgrav / grav
0 < 1.0.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/getgrav/grav/security/advisories/GHSA-66v2-vxxf-xc3v vulncheck.com: https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-file-upload-extension-bypass

Credits

๐Ÿ” alienkeric