CVE-2026-133781

Source
https://cve.org/CVERecord?id=CVE-2026-133781
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-133781.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-133781
Aliases
  • GHSA-6rch-xhq6-7x8r
Published
2026-11-24T08:41:50Z
Modified
2026-11-24T10:00:09Z
Severity
  • 7.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script
Details

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.

Database specific
{
    "cna_assigner":  "Symfony",
    "cwe_ids":  [
        "CWE-829"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133781.json"
}
References

Affected packages

Git / github.com/symfony/stimulus-bridge

Affected ranges

Type
GIT
Repo
https://github.com/symfony/stimulus-bridge
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "4.0.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "1125c5c29dce467415a3d2663e682fbb9d9ab424"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v1.*
v1.1.0
v2.*
v2.0.0
v2.0.2
v2.1.0
v3.*
v3.0.0
v3.1.0
v3.2.1
v3.2.2
v3.2.3
v4.*
v4.0.0
v4.0.1
v4.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-133781.json"