Amenazas en vivo

Todas las CVE / smarty-php

CVE-2026-62992smarty-php smarty

Media 6.9

Prioridad
41
CVSS 4.0
6.9
EPSS
—
Requiere autenticación
Sí
Publicada
7 ago 2026
Actualizada
24 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-22, CWE-61
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links before validating that a requested path lies within a configured secure directory. An attacker able to place or reference a symlink within a directory Smarty treats as trusted (e.g., a template or config directory) could use it to point outside the intended secure directory, bypassing the containment check and reading arbitrary files accessible to the PHP process. This issue is fixed in versions 5.8.2 and 4.5.7.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para smarty.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist smarty/smarty ≥ 5.0.0 < 5.8.2 5.8.2 composer require "smarty/smarty:^5.8.2"
Packagist smarty/smarty < 4.5.7 4.5.7 composer require "smarty/smarty:^4.5.7"

Según OSV / GitHub Advisories (GHSA-f6wf-28g6-769x). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.