# GHSA-XVGH-HMX8-9XXF: Backstage: Improper task state validation in Scaffolder backend

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-10-07
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-106500](https://cve.now/CVE-2026-106500.md): Backstage: Improper task state validation in Scaffolder backend

## Affected versions

- @backstage/plugin-scaffolder-backend (npm): fixed in 4.1.0

## Description

### 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

- 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

Page: https://cve.now/GHSA-XVGH-HMX8-9XXF

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
