GHSA-g8rx-f7m5-7794HighCVSS 8.5

Backstage has iImproper filesystem validation in Bitbucket pull-request scaffolder actions

Published
October 7, 2026
Last Modified
October 7, 2026

🔗 CVE IDs covered (1)

📋 Description

Impact

An authenticated user who can execute an eligible template and influence an allowed Bitbucket repository could affect filesystem paths outside the expected working area. Depending on the backend deployment, this could compromise backend confidentiality, integrity, or availability.

Patches

  • @backstage/plugin-scaffolder-backend-module-bitbucket-cloud version 0.3.10
  • @backstage/plugin-scaffolder-backend-module-bitbucket-server version 0.2.25

Workarounds

  • Restrict execution of affected Scaffolder templates to trusted users.
  • Avoid templates that accept user-controlled target repositories for these actions.

🎯 Affected products2

  • npm/@backstage/plugin-scaffolder-backend-module-bitbucket-cloud:< 0.3.10
  • npm/@backstage/plugin-scaffolder-backend-module-bitbucket-server:< 0.2.25

🔗 References (5)