CVE-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
CVSS 7.3 · High · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- @symfony/stimulus-bridgeUpdate to 4.0.3
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
@symfony/stimulus-bridge
- Versions
- ≥ 0, < 4.0.3: Affected (semver)
Update to 4.0.3