MEDIUM 5.3 npm

Backstage has improper input validation in scaffolder task list ordering

GHSA-vwp5-f99x-x3rq · CVE-2026-106506

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes