Backstage has iImproper filesystem validation in Bitbucket pull-request scaffolder actions
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-cloudversion0.3.10@backstage/plugin-scaffolder-backend-module-bitbucket-serverversion0.2.25
Workarounds
- Restrict execution of affected Scaffolder templates to trusted users.
- Avoid templates that accept user-controlled target repositories for these actions.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @backstage/plugin-scaffolder-backend-module-bitbucket-cloud | < 0.3.10 | 0.3.10 |
| npm package | @backstage/plugin-scaffolder-backend-module-bitbucket-server | < 0.2.25 | 0.2.25 |
References
- https://github.com/backstage/backstage/security/advisories/GHSA-g8rx-f7m5-7794
- https://nvd.nist.gov/vuln/detail/CVE-2026-106486
- https://github.com/backstage/backstage/commit/818528e112c36167d76187e9e63fb518399c4dd2
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/v1.54.6
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-22, CWE-59- Platform
- npm
- Package
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud, @backstage/plugin-scaffolder-backend-module-bitbucket-server- Disclosed
- 07.10.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g8rx-f7m5-7794 - CC BY 4.0
Vulnerability history: @backstage/plugin-scaffolder-backend-module-bitbucket-cloud
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 10.2026 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2026: 2
-
Backstage has iImproper filesystem validation in Bitbucket pull-request scaffolder actions this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.