← Zurück zur CVE-Suche

CVE-2026-61457

Grav API plugin

Beschreibung

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.

CVSS 8.8EPSS 0.464%Risiko 0.92
Quelle öffnen
Veröffentlicht
2026-07-15 12:18:20
Betroffene Versionen
<1.0.3
Typ
Webanwendung
Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H