Amenazas en vivo

Todas las CVE / Apache

CVE-2026-84939Apache Freemarker

Vulnerabilidad de traversal de directorios en carga de plantillas de Apache Fre…

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 3.1
9.1
EPSS
—
Requiere autenticación
No
Publicada
10 sep 2026
Actualizada
11 sep 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-23
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Qué pasa

Apache FreeMarker versiones 2.2.0 a 2.3.34 contienen una vulnerabilidad de traversal de directorios en el mecanismo de carga de plantillas. Un atacante sin autenticación puede especificar un identificador de locale malformado para acceder a archivos fuera del directorio base configurado, siempre que la búsqueda localizada esté habilitada (configuración por defecto).

Ver el texto original de NVD (en inglés)

Path traversal vulnerability in Apache FreeMarker template loading mechanism, if the attacker can specify an arbitrary malformed locale identifier to FreeMarker, and the localized lookup configuration setting is enabled (it's by default enabled). This issue affects Apache FreeMarker from 2.2.0 through 2.3.34. Users are recommended to upgrade to version 2.3.35. Disabling localized lookup in previous versions also mitigates this. Note that even in versions affected by this vulnerability, the files that can be loaded remain restricted by the TemplateLoader that FreeMarker is configured to use. In particular, FileTemplateLoader prevents attempts to traverse outside the baseDir specified in its constructor. Other TemplateLoader implementations may allow access outside their designated base directory, but they are still constrained by the underlying storage mechanism—for example, a loader wrapping a Java class loader can only access resources that the class loader can load, while one wrapping a web application context can only access resources available through that context.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 2.3.35

Actualiza Apache FreeMarker a versión 2.3.35 o superior. Como mitigación temporal, deshabilita la búsqueda localizada en versiones anteriores.

Aviso del fabricante · lists.apache.org ↗

  1. Aplica la actualización de seguridad del fabricante para Freemarker.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Maven org.freemarker:freemarker ≥ 2.2.0 < 2.3.35 2.3.35 —

Según OSV / GitHub Advisories (GHSA-27j2-h3m2-8237). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
apachefreemarker≥ 2.2 < 2.3.35

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.