8.5high
Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions
- Severity
- 8.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-g8rx-f7m5-7794
Description
Backstage is an open framework for building developer portals. Prior to 0.3.10 in @backstage/plugin-scaffolder-backend-module-bitbucket-cloud and 0.2.25 in @backstage/plugin-scaffolder-backend-module-bitbucket-server, the Bitbucket pull-request Scaffolder actions did not sufficiently validate filesystem paths. An authenticated user who can execute an eligible template and influence an allowed Bitbucket repository could affect paths outside the expected working area, potentially compromising backend confidentiality, integrity, or availability. This issue is fixed in @backstage/plugin-scaffolder-backend-module-bitbucket-cloud 0.3.10 and @backstage/plugin-scaffolder-backend-module-bitbucket-server 0.2.25.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| backstage backstage | < 1.54.6 | CVE List |
| @backstage plugin-scaffolder-backend-module-bitbucket-cloud | < 0.3.10 | CVE List |
| @backstage plugin-scaffolder-backend-module-bitbucket-server | < 0.2.25 | CVE List |
| @backstage/plugin-scaffolder-backend-module-bitbucket-cloud (npm) | before 0.3.10 | GitHub Advisory Database |
| @backstage/plugin-scaffolder-backend-module-bitbucket-server (npm) | before 0.2.25 | GitHub Advisory Database |
| linuxfoundation backstage/plugin-scaffolder-backend-module-bitbucket-cloud | before 0.3.10 | NVD |
| linuxfoundation backstage/plugin-scaffolder-backend-module-bitbucket-server | before 0.2.25 | NVD |
| linuxfoundation backstage | before 1.54.6 | NVD |
All scores
| GitHub_M | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Classification
What each source says
CVE List
Backstage is an open framework for building developer portals. Prior to 0.3.10 in @backstage/plugin-scaffolder-backend-module-bitbucket-cloud and 0.2.25 in @backstage/plugin-scaffolder-backend-module-bitbucket-server, the Bitbucket pull-request Scaffolder actions did not sufficiently validate filesystem paths. An authenticated user who can execute an eligible template and influence an allowed Bitbucket repository could affect paths outside the expected working area, potentially compromising backend confidentiality, integrity, or availability. This issue is fixed in @backstage/plugin-scaffolder-backend-module-bitbucket-cloud 0.3.10 and @backstage/plugin-scaffolder-backend-module-bitbucket-server 0.2.25.
GitHub Advisory Database
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.
References
| https://github.com/backstage/backstage/security/advisories/GHSA-g8rx-f7m5-7794 | mitigation, vendor-advisory, web | |
| https://github.com/backstage/backstage/commit/818528e112c36167d76187e9e63fb518399c4dd2 | patch, web | |
| https://github.com/backstage/backstage/releases/tag/v1.54.6 | patch, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-106486 | advisory | |
| https://github.com/backstage/backstage | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-106486 changed 2026-10-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g8rx-f7m5-7794 changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-106486 changed 2026-10-23 | Public domain |