CVE-2026-61457
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Jul 15, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-76012 The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is… CWE-434
- CVE-2026-119620 A vulnerability was determined in 37954679 cak-filemanagement-system up to… CWE-434
- CVE-2026-115346 The Avada | Website Builder For WordPress & WooCommerce theme for WordPress is vulnerable… CWE-434
- CVE-2026-61738 SOCFortress CoPilot focuses on providing a single pane of glass for all your security… CWE-434
- CVE-2025-68391 ARKETEAM Protectel modules PROTECTELMAJ and BDF are vulnerable to arbitrary file upload… CWE-434
- CVE-2026-61645 Docat is a tool for hosting versioned static documentation. CWE-434
- CVE-2026-90864 A path traversal vulnerability in Progress Software WS_FTP Server versions prior to… CWE-434
- CVE-2026-90866 A path traversal vulnerability in Progress Software WS_FTP Server versions prior to… CWE-434