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

Vulnerability · Reported by NVD · · CWE-829

Severity
High Risk score 73/100
CVSS
7.3 v4.0 · from NVD
Exploit chance (EPSS)
0.22% Higher than 8% of CVEs
Known exploited
No Not in CISA KEV

Summary

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.

How this vulnerability can be exploited

An attacker can exploit this vulnerability with local access to the system, without any login. Attack complexity is low, so no special conditions are needed.

Is it being exploited?

The EPSS model estimates a 0.22% chance this CVE will be exploited in the next 30 days, which is low and higher than 8% of all published CVEs.

Patch priority and what to do

Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/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

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-133781

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.