PT-2026-28178 · Laravel+1 · Laravel+1

Zaurgsynv

·

Publicado

2026-03-25

·

Atualizado

2026-03-27

·

CVE-2026-33687

CVSS v3.1

8.8

Alta

VetorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Sharp versions prior to 9.20.0
Description Sharp, a content management framework for Laravel, has an issue in its file upload functionality. The ApiFormUploadController accepts a client-controlled validation rule parameter that is passed directly to the Laravel validator without adequate server-side checks. An attacker can bypass file type restrictions by manipulating the validation rule parameter to include validation rule[]=file. This allows the upload of arbitrary files, potentially including PHP webshells. The vulnerable code is located in src/Http/Controllers/Api/ApiFormUploadController.php at line 24. If the storage disk is publicly accessible, this could lead to Remote Code Execution (RCE).
Recommendations Versions prior to 9.20.0 should be updated to version 9.20.0 or later, which removes the client-controlled validation rules and enforces upload rules server-side. As a workaround, ensure the storage disk used for Sharp uploads is strictly private.

Exploit

Correção

Unrestricted File Upload

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2026-33687
GHSA-FR76-5637-W3G9

Produtos afetados

Laravel
Sharp