CVE-2026-33686Code16 Sharp
Alta 8.8
Seguir: esta CVE · Code16 · Code16 Sharp Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 26 mar 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Qué pasa
Sharp is a content management framework built for Laravel as a package. Versions prior to 9.20.0 have a path traversal vulnerability in the FileUtil class. The application fails to sanitize file extensions properly, allowing path separators to be passed into the storage layer. In `src/Utils/FileUtil.php`, the `FileUtil::explodeExtension()` function extracts a file's extension by splitting the filename at the last dot. This issue has been patched in version 9.20.0 by properly sanitizing the extension using `pathinfo(PATHINFO_EXTENSION)` instead of `strrpos()`, alongside applying strict regex replacements to both the base name and the extension.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Sharp.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | code16/sharp |
< 9.20.0 |
9.20.0 |
composer require "code16/sharp:^9.20.0" |
Según OSV / GitHub Advisories (GHSA-9ffq-6457-8958). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| code16 | sharp | < 9.20.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking Patch
- github.com Vendor Advisory