CVE-2026-106486

Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions

Published Oct 6, 2026 CVSS 3.1 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Backstage, an open framework for developer portals, allowed an authenticated user who could execute a templated action to influence filesystem paths during the Bitbucket pull‑request scaffolder actions. The lack of proper path validation meant the user could target locations outside the intended working directory, potentially reading or modifying sensitive backend files and thereby compromising confidentiality, integrity or availability of the service. This weakness is classified as a directory traversal flaw susceptible to arbitrary file access.

Affected Systems

Vulnerable environments run Backstage plugins before the indicated safe versions: @backstage/plugin-scaffolder-backend-module-bitbucket-cloud prior to 0.3.10, @backstage/plugin-scaffolder-backend-module-bitbucket-server prior to 0.2.25, and the overall backstage:backstage framework when these plugins are in use.

Risk and Exploitability

The CVSS score of 8.5 marks this as a high‑severity vulnerability, and while the EPSS score is unavailable, it is reasonable to assume a non‑negligible risk of exploitation, especially where the affected plugins are enabled for authenticated users. The vulnerability is not listed in the CISA KEV catalog, but the lack of sufficient validation presents a clear opportunity for an attacker who can execute eligible templates to access or manipulate files outside the intended scope. The likely attack vector is an authenticated request that triggers the scaffolder action; the condition requires the attacker to control a template and have write or pull‑request permission on at least one Bitbucket repository, as inferred from the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update @backstage/plugin-scaffolder-backend-module-bitbucket-cloud to version 0.3.10 or newer and @backstage/plugin-scaffolder-backend-module-bitbucket-server to version 0.2.25 or newer
  • Upgrade the core Backstage framework to release v1.54.6 or a later version that includes these plugin updates
  • Limit template execution permissions so that only trusted users can trigger Bitbucket pull‑request scaffolder actions

Generated by OpenCVE AI on October 7, 2026 at 00:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g8rx-f7m5-7794 Backstage has iImproper filesystem validation in Bitbucket pull-request scaffolder actions
History
Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation backstage
Linuxfoundation backstage\/plugin-scaffolder-backend-module-bitbucket-cloud
Linuxfoundation backstage\/plugin-scaffolder-backend-module-bitbucket-server
CPEs cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage\/plugin-scaffolder-backend-module-bitbucket-cloud:*:*:*:*:*:node.js:*:*
cpe:2.3:a:linuxfoundation:backstage\/plugin-scaffolder-backend-module-bitbucket-server:*:*:*:*:*:node.js:*:*
Vendors & Products Linuxfoundation
Linuxfoundation backstage
Linuxfoundation backstage\/plugin-scaffolder-backend-module-bitbucket-cloud
Linuxfoundation backstage\/plugin-scaffolder-backend-module-bitbucket-server
Type Values Removed Values Added
First Time appeared Backstage
Backstage backstage
Backstage plugin-scaffolder-backend-module-bitbucket-cloud
Backstage plugin-scaffolder-backend-module-bitbucket-server
Vendors & Products Backstage
Backstage backstage
Backstage plugin-scaffolder-backend-module-bitbucket-cloud
Backstage plugin-scaffolder-backend-module-bitbucket-server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions
Weaknesses CWE-22
CWE-59
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 4:22 PM
Reserved
Oct 6, 2026, 6:46 PM
Status
Analyzed
Published
Oct 6, 2026, 9:17 PM
Modified
Oct 23, 2026, 3:01 PM
Severity
Important
Public date
Oct 6, 2026, 8:35 PM