CVE-2026-106560

Backstage: Improper repository path validation in a Scaffolder backend module

Published Oct 7, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Backstage is an open framework for building developer portals. Prior to 0.3.25, the @backstage/plugin-scaffolder-backend-module-confluence-to-markdown package is affected by improper repository path validation in a scaffolder backend module. An authenticated user who can execute an affected template and control its repository file location may cause generated content to be written outside the task workspace, within locations writable by the Backstage backend process. This issue is fixed in version 0.3.25.

Analysis

AI-generated

Technical impact

The vulnerability resides in an older version of the Confluence‑to‑Markdown scaffolder backend module of Backstage, where path validation for repository writes is insufficient. When an authenticated user initiates a template that controls the repository file location, the module may write generated content to locations outside the intended task workspace, provided those paths are writable by the Backstage backend process. An attacker could therefore create or modify arbitrary files on the host, potentially leading to code execution or system compromise, and bypassing standard sandbox boundaries.

Affected Systems

All installations of Backstage that include the @backstage/plugin-scaffolder-backend-module-confluence-to-markdown package prior to version 0.3.25 are affected, as well as Backstage hosts that use the framework before the release of v1.54.6 where the module was updated. This applies to any environment where the plugin is deployed and template execution is enabled for authenticated users.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate risk, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with permissions to execute scaffolder templates that influence repository locations. Once such access is available, the attacker can write outside the workspace without additional privileges, making the impact severe. The absence of an EPSS score means the exploitation probability is not quantified, but the lack of public exploitation evidence suggests the issue is not currently widely exploited.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the @backstage/plugin-scaffolder-backend-module-confluence-to-markdown package to version 0.3.25 or later, or upgrade Backstage to release v1.54.6 which contains the fix
  • Restrict template execution rights so that only trusted, audited users can run scaffolder templates that generate files
  • If a patch is not immediately available, add custom validation in the scaffolder to reject any repository paths that resolve outside the intended workspace or disable the template feature until the fix is applied

Generated by OpenCVE AI on October 7, 2026 at 16:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2cmg-v53w-8xfp Backstage: Improper repository path validation in a Scaffolder backend module
History
Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation backstage
Linuxfoundation backstage\/plugin-scaffolder-backend-module-confluence-to-markdown
CPEs cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage\/plugin-scaffolder-backend-module-confluence-to-markdown:*:*:*:*:*:node.js:*:*
Vendors & Products Linuxfoundation
Linuxfoundation backstage
Linuxfoundation backstage\/plugin-scaffolder-backend-module-confluence-to-markdown
Type Values Removed Values Added
First Time appeared Backstage
Backstage backstage
Backstage plugin-scaffolder-backend-module-confluence-to-markdown
Vendors & Products Backstage
Backstage backstage
Backstage plugin-scaffolder-backend-module-confluence-to-markdown
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Backstage is an open framework for building developer portals. Prior to 0.3.25, the @backstage/plugin-scaffolder-backend-module-confluence-to-markdown package is affected by improper repository path validation in a scaffolder backend module. An authenticated user who can execute an affected template and control its repository file location may cause generated content to be written outside the task workspace, within locations writable by the Backstage backend process. This issue is fixed in version 0.3.25.
Title Backstage: Improper repository path validation in a Scaffolder backend module
Weaknesses CWE-22
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 5:12 PM
Reserved
Oct 6, 2026, 8:31 PM
Status
Analyzed
Published
Oct 7, 2026, 3:17 PM
Modified
Oct 16, 2026, 3:05 PM