CVE-2026-133781 (GCVE-0-2026-133781)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:41 – Updated: 2026-11-24 08:41
VLAI
EPSS
VEX
Title
Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script
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.
Severity
CWE
- CWE-829 - Inclusion of Functionality from Untrusted Control Sphere
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133781 | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/securi… | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/commit… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | @symfony/stimulus-bridge |
Affected:
0 , < 4.0.3
(semver)
|
Date Public
2026-11-24 08:37
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://www.npmjs.com",
"defaultStatus": "unaffected",
"packageName": "@symfony/stimulus-bridge",
"product": "@symfony/stimulus-bridge",
"repo": "https://github.com/symfony/stimulus-bridge",
"vendor": "Symfony",
"versions": [
{
"lessThan": "4.0.3",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-24T08:37:10.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "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.\n\nThis is a build-time vulnerability: it doesn\u0027t 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\u0027t run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets.\n\nThe loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running."
}
],
"value": "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.\n\nThis is a build-time vulnerability: it doesn\u0027t 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\u0027t run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets.\n\nThe loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 7.3,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-829",
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:41:50.479Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133781",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133781"
},
{
"name": "GHSA-6rch-xhq6-7x8r",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/stimulus-bridge/security/advisories/GHSA-6rch-xhq6-7x8r"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/stimulus-bridge/commit/1125c5c29dce467415a3d2663e682fbb9d9ab424"
}
],
"source": {
"advisory": "GHSA-6rch-xhq6-7x8r",
"discovery": "UNKNOWN"
},
"title": "Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133781",
"datePublished": "2026-11-24T08:41:50.479Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:41:50.479Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-133781",
"date": "2026-11-24",
"epss": "0.0018",
"percentile": "0.07543"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://www.npmjs.com",
"defaultStatus": "unaffected",
"packageName": "@symfony/stimulus-bridge",
"product": "@symfony/stimulus-bridge",
"repo": "https://github.com/symfony/stimulus-bridge",
"vendor": "Symfony",
"versions": [
{
"lessThan": "4.0.3",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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.\n\nThis is a build-time vulnerability: it doesn\u0027t 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\u0027t run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets.\n\nThe loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running."
}
],
"id": "CVE-2026-133781",
"lastModified": "2026-11-24T18:56:39.360",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 7.3,
"baseSeverity": "HIGH",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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:X/AU:X/R:X/V:X/RE:X/U:X",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"type": "Secondary"
}
]
},
"published": "2026-11-24T09:17:07.993",
"references": [
{
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"url": "https://github.com/symfony/stimulus-bridge/commit/1125c5c29dce467415a3d2663e682fbb9d9ab424"
},
{
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"url": "https://github.com/symfony/stimulus-bridge/security/advisories/GHSA-6rch-xhq6-7x8r"
},
{
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"url": "https://symfony.com/cve-2026-133781"
}
],
"sourceIdentifier": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-829"
}
],
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"type": "Secondary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…