GHSA-xvgh-hmx8-9xxf
Backstage: Improper task state validation in Scaffolder backend
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @backstage/plugin-scaffolder-backend | < 4.1.0 | 4.1.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
An 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.
### Patches
Patched in `@backstage/plugin-scaffolder-backend` version `4.1.0`
### Workarounds
- Restrict Scaffolder task creation and task-read permissions to trusted users through the permission policy.
- Limit who can register or modify templates and which Scaffolder actions may execute.
- Run backend application files read-only outside a dedicated, least-privilege Scaffolder working directory.
### References
- [Authorizing Scaffolder tasks, parameters, steps, and actions](https://backstage.io/docs/features/software-templates/authorizing-scaffolder-template-details/)
References
External links from the advisory. They lead to third-party sites.
- https://github.com/backstage/backstage/security/advisories/GHSA-xvgh-hmx8-9xxf
- https://nvd.nist.gov/vuln/detail/CVE-2026-106500
- https://github.com/backstage/backstage/commit/0d24f1b8701f3dde6cd597f81997c1ea873a43ae
- https://github.com/backstage/backstage/commit/56be299dd3ef6706e13e76ea2f8a9b0dd0b6413d
- https://github.com/backstage/backstage/commit/9e86c95a1a3ddfd54db03731cd8678aa63495175
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/v1.49.6
- https://github.com/backstage/backstage/releases/tag/v1.50.5
- https://github.com/backstage/backstage/releases/tag/v1.54.6