{"id":"GHSA-29gx-h2m3-xw44","revision":"7ddd0bf66adb4cdd92ff43c3d93e79c9","records":[{"revision":"7ddd0bf66adb4cdd92ff43c3d93e79c9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-29gx-h2m3-xw44","aliases":["CVE-2026-106462"],"title":"Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback","description":"### 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.","state":0,"publishedAt":"2026-10-07T18:01:53+00:00","modifiedAt":"2026-10-07T18:15:12.7144847+00:00","affected":[{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.1.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend-module-github","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.13"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend-module-gitlab","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.11.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend-module-azure","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.25"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend-module-bitbucket-cloud","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.3.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend-module-bitbucket-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.25"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/backstage/backstage/security/advisories/GHSA-29gx-h2m3-xw44","https://nvd.nist.gov/vuln/detail/CVE-2026-106462","https://github.com/backstage/backstage/commit/6fb2a41ea47da37eafe5ea744050","https://github.com/backstage/backstage/commit/6fb2a41ea47da37eafe5ea744050ef90be6820c0","https://github.com/backstage/backstage","https://github.com/backstage/backstage/releases/tag/v1.54.6"],"sourceUrl":"https://github.com/advisories/GHSA-29gx-h2m3-xw44","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-29gx-h2m3-xw44","identifiers":["GHSA-29gx-h2m3-xw44","CVE-2026-106462"]},"retained":false,"historicalAffected":[]}],"coverage":[]}