p PatchFirst

CVE-2026-62996

CVE-2026-62996 · Smarty Security stream restriction bypass through stream: resource

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. From 5.0.0 until 5.8.4, Smarty's stream: resource-name handling does not adequately restrict which PHP stream wrappers and filter chains can be referenced from a template, allowing a php://filter-wrapped resource name to be used to read the contents of arbitrary local files accessible to the PHP process. An attacker able to author or influence a template's resource reference could exploit this to disclose sensitive file contents outside the intended template/config scope. This issue is fixed in version 5.8.4.

CVSS 6.9 · Media · EPSS 0,5% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system · php

Productos y versiones afectados

  • smarty

    Versiones
    • >= 5.0.0, < 5.8.4: Afectada

    Sin corrección publicada

  • smarty/smarty Packagist

    Versiones
    • v5.0.0
    • v5.0.1
    • v5.0.2
    • v5.1.0
    • v5.2.0
    • v5.3.0
    • v5.3.1
    • v5.4.0
    • v5.4.1
    • v5.4.2
    • v5.4.3
    • v5.4.4
    • v5.4.5
    • v5.5.0
    • v5.5.1
    • v5.5.2
    • v5.6.0
    • v5.7.0
    • v5.8.0
    • v5.8.1
    • v5.8.2
    • v5.8.3
    Intervalos de versiones afectados
    • ECOSYSTEM: ≥ 5.0.0, < 5.8.4

    Actualiza a 5.8.4

  • smarty3 Ubuntu:Pro:16.04:LTS

    Versiones
    • 3.1.21-1
    • 3.1.21-1ubuntu1
    • 3.1.21-1ubuntu1+esm1
    • 3.1.21-1ubuntu1+esm2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty3 Ubuntu:Pro:18.04:LTS

    Versiones
    • 3.1.31+20161214.1.c7d42e4+selfpack1-2
    • 3.1.31+20161214.1.c7d42e4+selfpack1-3
    • 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
    • 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty3 Ubuntu:Pro:20.04:LTS

    Versiones
    • 3.1.33+20180830.1.3a78a21f+selfpack1-1
    • 3.1.34+20190228.1.c9f0de05+selfpack1-1
    • 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1
    • 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
    • 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1+esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty3 Ubuntu:22.04:LTS

    Versiones
    • 3.1.39-2
    • 3.1.39-2ubuntu1
    • 3.1.39-2ubuntu1.22.04.1
    • 3.1.39-2ubuntu1.22.04.2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty3 Ubuntu:24.04:LTS

    Versiones
    • 3.1.48-1
    • 3.1.48-1ubuntu0.24.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty4 Ubuntu:24.04:LTS

    Versiones
    • 4.3.1-1
    • 4.3.1-1ubuntu0.24.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty3 Ubuntu:26.10

    Versiones
    • 3.1.48-2build1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty4 Ubuntu:26.10

    Versiones
    • 4.5.5-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty3 Ubuntu:26.04:LTS

    Versiones
    • 3.1.48-2
    • 3.1.48-2build1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • smarty4 Ubuntu:26.04:LTS

    Versiones
    • 4.5.5-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →