{"id":"GHSA-2g8g-63j4-9w3r","aliases":["GHSA-2g8g-63j4-9w3r"],"related":[],"kind":"vulnerability","state":"published","title":"RCE vulnerability affecting v1beta3 templates in @backstage/plugin-scaffolder-backend","summary":"The templating library used by the scaffolder backend assumes that templates are trusted which is an undesired property of the scaffolder-backend. This has now been mitigated by sandboxing the template code execution.\n\n### Impact\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\nThis is vulnerability is patched in version `0.15.14` of `@backstage/plugin-scaffolder-backend`.\n\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Open an issue in the [Backstage repository](https://github.com/backstage/backstage)\n* Visit our chat, linked to in [Backstage README](https://github.com/backstage/backstage)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"The templating library used by the scaffolder backend assumes that templates are trusted which is an undesired property of the scaffolder-backend. This has now been mitigated by sandboxing the template code execution.\n\n### Impact\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\nThis is vulnerability is patched in version `0.15.14` of `@backstage/plugin-scaffolder-backend`.\n\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Open an issue in the [Backstage repository](https://github.com/backstage/backstage)\n* Visit our chat, linked to in [Backstage README](https://github.com/backstage/backstage)","format":"markdown","source":"ghsa"}],"published":"2021-12-01T18:29:12.000Z","modified":"2021-11-29T19:39:57.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.15.14"}],"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","source":"ghsa"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-2g8g-63j4-9w3r","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/backstage/backstage","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2g8g-63j4-9w3r","url":"https://github.com/advisories/GHSA-2g8g-63j4-9w3r","licence":"CC-BY-4.0","modified":"2021-11-29T19:39:57.000Z"}],"updatedAt":"2026-11-25T22:56:43.611Z"}