{"api_version":"1","generated_at":"2026-04-10T03:27:25+00:00","cve":"CVE-2023-35926","urls":{"html":"https://cve.report/CVE-2023-35926","api":"https://cve.report/api/cve/CVE-2023-35926.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-35926","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-35926"},"summary":{"title":"CVE-2023-35926","description":"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`.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-06-22 14:15:00","updated_at":"2023-06-29 20:54:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr","name":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr","refsource":"MISC","tags":[],"title":"Insecure sandbox in Backstage Scaffolder plugin · Advisory · backstage/backstage · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/backstage/backstage/releases/tag/v1.15.0","name":"https://github.com/backstage/backstage/releases/tag/v1.15.0","refsource":"MISC","tags":[],"title":"Release v1.15.0 · backstage/backstage · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a","name":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a","refsource":"MISC","tags":[],"title":"feat: replace vm2 sandbox with isolated-vm · backstage/backstage@fb73755 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-35926","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35926","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"35926","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"backstage","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-35926","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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`."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94: Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"backstage","product":{"product_data":[{"product_name":"backstage","version":{"version_data":[{"version_affected":"=","version_value":"< 1.15.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr","refsource":"MISC","name":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr"},{"url":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a","refsource":"MISC","name":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a"},{"url":"https://github.com/backstage/backstage/releases/tag/v1.15.0","refsource":"MISC","name":"https://github.com/backstage/backstage/releases/tag/v1.15.0"}]},"source":{"advisory":"GHSA-wg6p-jmpc-xjmr","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-06-22 14:15:00","lastModifiedDate":"2023-06-29 20:54:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.1,"impactScore":6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*","versionEndExcluding":"1.15.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}