# GHSA-G8RX-F7M5-7794: Backstage has iImproper filesystem validation in Bitbucket pull-request scaffolder actions

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

## Tracked as

- [CVE-2026-106486](https://cve.now/CVE-2026-106486.md): Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions

## Affected versions

- @backstage/plugin-scaffolder-backend-module-bitbucket-cloud (npm): fixed in 0.3.10
- @backstage/plugin-scaffolder-backend-module-bitbucket-server (npm): fixed in 0.2.25

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

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

Page: https://cve.now/GHSA-G8RX-F7M5-7794

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