{"id":"GHSA-29gx-h2m3-xw44","summary":"Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback","details":"### Impact\n\nScaffolder actions that interact with source control systems may not consistently enforce the intended credential boundaries under certain configurations. An authenticated user could perform operations with broader access than intended.\n\n### Patches\n\n- `@backstage/plugin-scaffolder-backend` version `4.1.0`\n- `@backstage/plugin-scaffolder-backend-module-azure` version `0.2.25`\n- `@backstage/plugin-scaffolder-backend-module-bitbucket-cloud` version `0.3.10`\n- `@backstage/plugin-scaffolder-backend-module-bitbucket-server` version `0.2.25`\n- `@backstage/plugin-scaffolder-backend-module-github` version `0.9.13`\n- `@backstage/plugin-scaffolder-backend-module-gitlab` version `0.11.10`\n\nThe fix introduces a new configuration option that enforces user-provided credentials for supported SCM actions. The new behavior is opt-in for compatibility. After upgrading, set:\n\n```yaml\nscaffolder:\n  requireScmUserCredentials: true\n```\n\nBefore enabling this setting, review and update your templates as described in the software templates documentation referred to below.\n\n### Workarounds\n\nIf you cannot upgrade and enable the setting immediately:\n\n- Restrict who can create Scaffolder tasks and which templates they can execute.\n- Limit SCM integration credentials to the minimum repository read and mutation permissions required.\n- Remove integration credentials for SCM hosts where all required operations can use explicitly supplied user tokens.","aliases":["CVE-2026-106462"],"modified":"2026-10-07T18:15:12.714484672Z","published":"2026-10-07T18:01:53Z","database_specific":{"github_reviewed_at":"2026-10-07T18:01:53Z","nvd_published_at":"2026-10-06T21:17:17Z","cwe_ids":["CWE-441","CWE-863"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-29gx-h2m3-xw44"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106462"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/6fb2a41ea47da37eafe5ea744050"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/6fb2a41ea47da37eafe5ea744050ef90be6820c0"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"},{"type":"WEB","url":"https://github.com/backstage/backstage/releases/tag/v1.54.6"}],"affected":[{"package":{"name":"@backstage/plugin-scaffolder-backend","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"}},{"package":{"name":"@backstage/plugin-scaffolder-backend-module-github","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend-module-github"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.13"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"}},{"package":{"name":"@backstage/plugin-scaffolder-backend-module-gitlab","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend-module-gitlab"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.11.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"}},{"package":{"name":"@backstage/plugin-scaffolder-backend-module-azure","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend-module-azure"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.25"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"}},{"package":{"name":"@backstage/plugin-scaffolder-backend-module-bitbucket-cloud","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend-module-bitbucket-cloud"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"}},{"package":{"name":"@backstage/plugin-scaffolder-backend-module-bitbucket-server","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend-module-bitbucket-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.25"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}