CVE-2026-106486
JSON

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 packageVersionsReported by
backstage backstage< 1.54.6CVE List
@backstage plugin-scaffolder-backend-module-bitbucket-cloud< 0.3.10CVE List
@backstage plugin-scaffolder-backend-module-bitbucket-server< 0.2.25CVE List
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud (npm)before 0.3.10GitHub Advisory Database
@backstage/plugin-scaffolder-backend-module-bitbucket-server (npm)before 0.2.25GitHub Advisory Database
linuxfoundation backstage/plugin-scaffolder-backend-module-bitbucket-cloudbefore 0.3.10NVD
linuxfoundation backstage/plugin-scaffolder-backend-module-bitbucket-serverbefore 0.2.25NVD
linuxfoundation backstagebefore 1.54.6NVD

All scores

GitHub_M8.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub8.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-22CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-106486 changed 2026-10-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-g8rx-f7m5-7794 changed 2026-10-07CC-BY-4.0
NVDCVE-2026-106486 changed 2026-10-23Public domain