GHSA-vwp5-f99x-x3rq
Backstage has improper input validation in scaffolder task list ordering
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 Backstage user with permission to create and read relevant scaffolder tasks may be able to infer confidential task data under specific conditions. Successful exploitation requires retained task secrets, visibility of a target task, knowledge of the secret structure, and repeated requests.
### Patches
Patched in `@backstage/plugin-scaffolder-backend` version `4.1.0`
### Workarounds
- At the gateway or reverse proxy, reject task-list requests that specify custom ordering, or allow ordering only by `created_at`, `status`, and `created_by`.
- Restrict scaffolder task creation and task read permissions to trusted users, preferably using owner-based task-read conditions.
- Disabling task recovery can reduce secret retention after a task is claimed, but it does not protect secrets in queued tasks and should not be treated as complete mitigation.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/backstage/backstage/security/advisories/GHSA-vwp5-f99x-x3rq
- https://nvd.nist.gov/vuln/detail/CVE-2026-106506
- https://github.com/backstage/backstage/commit/e673a869449874a9169e8f89852e75e862011b93
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/v1.54.6