{"id":"GHSA-2g8g-63j4-9w3r","aliases":[],"status":"published","title":"RCE vulnerability affecting v1beta3 templates in @backstage/plugin-scaffolder-backend","description":"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)","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2021-12-01T18:29:12Z","modified":"2023-01-09T05:05:59Z","fixes":[{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","fixed_in":["0.15.14"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.14"}]}]},{"source":"osv","ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.15.14"}]}]}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-2g8g-63j4-9w3r","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2g8g-63j4-9w3r"},{"url":"https://github.com/backstage/backstage","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-2g8g-63j4-9w3r","title":"RCE vulnerability affecting v1beta3 templates in @backstage/plugin-scaffolder-backend","description":"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)","status":"published","published":"2021-12-01T18:29:12Z","modified":"2023-01-09T05:05:59Z","updated_at":"2026-11-02T14:36:11.367194Z"}],"osv":[{"id":"GHSA-2g8g-63j4-9w3r","title":"RCE vulnerability affecting v1beta3 templates in @backstage/plugin-scaffolder-backend","description":"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)","status":"published","published":"2021-12-01T18:29:12Z","modified":"2021-11-29T19:39:57Z","updated_at":"2026-11-02T15:46:34.338541Z"}]}}
