{"id":"GHSA-xvgh-hmx8-9xxf","summary":"Backstage: Improper task state validation in Scaffolder backend","details":"### Impact\n\nAn authenticated user with permission to create and access Scaffolder tasks may, under specific timing and deployment conditions, affect files accessible to the Backstage backend. If backend application files are writable, the confidentiality, integrity, and availability of the backend may be compromised.\n\n### Patches\n\nPatched in `@backstage/plugin-scaffolder-backend` version `4.1.0`\n\n### Workarounds\n\n- Restrict Scaffolder task creation and task-read permissions to trusted users through the permission policy.\n- Limit who can register or modify templates and which Scaffolder actions may execute.\n- Run backend application files read-only outside a dedicated, least-privilege Scaffolder working directory.\n\n### References\n\n- [Authorizing Scaffolder tasks, parameters, steps, and actions](https://backstage.io/docs/features/software-templates/authorizing-scaffolder-template-details/)","aliases":["CVE-2026-106500"],"modified":"2026-10-07T18:15:10.728658409Z","published":"2026-10-07T17:59:02Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-10-07T17:59:02Z","nvd_published_at":"2026-10-06T22:17:05Z","cwe_ids":["CWE-362","CWE-59"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-xvgh-hmx8-9xxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106500"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/0d24f1b8701f3dde6cd597f81997c1ea873a43ae"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/56be299dd3ef6706e13e76ea2f8a9b0dd0b6413d"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/9e86c95a1a3ddfd54db03731cd8678aa63495175"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"},{"type":"WEB","url":"https://github.com/backstage/backstage/releases/tag/v1.49.6"},{"type":"WEB","url":"https://github.com/backstage/backstage/releases/tag/v1.50.5"},{"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-xvgh-hmx8-9xxf/GHSA-xvgh-hmx8-9xxf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}