Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.3CVE-2026-133781

CVE-2026-133781: Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script

Symfony @symfony/stimulus-bridge

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-133781: vulnerabilidad de severidad alta (CVSS 7.3) en Symfony @symfony/stimulus-bridge.

Qué ocurre

Descripción original de la fuente (en inglés): The controllers.json loader of @symfony/stimulus-bridge loads the package.json file of each package listed in controllers.json with require(). Node resolves this path through the exports field of the package, which can map ./package.json to a script. require() then runs that script during the Webpack or Symfony Encore build. This is a build-time vulnerability: it doesn't affect browsers or end users. A malicious or compromised package listed in controllers.json can run code on the developer machine or the CI server. This works even when the package manager doesn't run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets. The loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running.

Por qué importa

Severidad alta, CVSS 7.3.

Productos y versiones afectados

Symfony @symfony/stimulus-bridge < 4.0.3

ProductoVersionesCorregido en
Symfony @symfony/stimulus-bridge< 4.0.3—

Acción recomendada por la fuente

Consultá las referencias oficiales para conocer la corrección o mitigación.

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-829

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.