# GHSA-VWP5-F99X-X3RQ: Backstage has improper input validation in scaffolder task list ordering

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

## Tracked as

- [CVE-2026-106506](https://cve.now/CVE-2026-106506.md): Backstage: Improper input validation in scaffolder task list ordering

## Affected versions

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

## Description

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

- 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

Page: https://cve.now/GHSA-VWP5-F99X-X3RQ

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