{"id":"CVE-2023-35926","aliases":["CVE-2023-35926","GHSA-wg6p-jmpc-xjmr"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure sandbox in Backstage Scaffolder plugin","summary":"Backstage is an open platform for building developer portals. The Backstage scaffolder-backend plugin uses a templating library that requires sandbox, as it by design allows for code injection. The library used for this sandbox so far has been `vm2`, but in light of several past vulnerabilities and existing vulnerabilities  that may not have a fix, the plugin has switched to using a different sandbox library. A malicious actor with write access to a registered scaffolder template could manipulate the template in a way that allows for remote code execution on the scaffolder-backend instance. This was only exploitable in the template YAML definition itself and not by user input data. This is vulnerability is fixed in version 1.15.0 of `@backstage/plugin-scaffolder-backend`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Backstage is an open platform for building developer portals. The Backstage scaffolder-backend plugin uses a templating library that requires sandbox, as it by design allows for code injection. The library used for this sandbox so far has been `vm2`, but in light of several past vulnerabilities and existing vulnerabilities  that may not have a fix, the plugin has switched to using a different sandbox library. A malicious actor with write access to a registered scaffolder template could manipulate the template in a way that allows for remote code execution on the scaffolder-backend instance. This was only exploitable in the template YAML definition itself and not by user input data. This is vulnerability is fixed in version 1.15.0 of `@backstage/plugin-scaffolder-backend`.","source":"cvelist"},{"lang":"en","text":"The Backstage scaffolder-backend plugin uses a templating library that requires a sandbox, as it by design allows for code injection. The library used for this sandbox so far has been `vm2`, but in light of several past vulnerabilities and existing vulnerabilities  that may not have a fix, the plugin has switched to using a different sandbox library.\n\n### Impact\n\nA malicious actor with write access to a registered scaffolder template could manipulate the template in a way that allows for remote code execution on the scaffolder-backend instance. This was only exploitable in the template YAML definition itself and not by user input data.\n\n### Patches\n\nThis is vulnerability is fixed in version 1.15.0 of `@backstage/plugin-scaffolder-backend`.\n\n### Workarounds\n\nNote that the [Backstage Threat Model](https://backstage.io/docs/overview/threat-model) states that scaffolder templates are considered to be a sensitive area that with the recommendation that you control access and perform manual reviews of changes to the scaffolder templates. The exploit is of a nature where it is easily discoverable in manual review.","format":"markdown","source":"ghsa"}],"published":"2023-06-21T22:00:30.000Z","modified":"2026-09-10T03:50:02.364Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 1.15.0","status":"affected"}],"vendor":"backstage","product":"backstage","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.0"}],"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.15.0"}],"vendor":"linuxfoundation","product":"backstage","cpe":"cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/releases/tag/v1.15.0","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35926","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/backstage/backstage","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-12-05T17:47:53.884Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-35926","url":"https://www.cve.org/CVERecord?id=CVE-2023-35926","licence":"CVE Terms of Use","modified":"2024-12-05T17:48:07.987Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wg6p-jmpc-xjmr","url":"https://github.com/advisories/GHSA-wg6p-jmpc-xjmr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:02.364Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-35926","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35926","licence":"Public domain","modified":"2026-06-17T06:05:28.840Z"}],"updatedAt":"2026-11-25T22:58:24.992Z","epss":{"score":0.01888,"percentile":0.80138,"date":"2026-12-01T12:00:22.000Z"}}