Skip to content
Threat Feed
high advisory

Improper Repository Path Validation in Backstage Scaffolder Backend Module

An authenticated user can exploit improper path validation in the Backstage plugin-scaffolder-backend-module-confluence-to-markdown (CVE-2026-106560) to write files outside the designated task workspace.

CVE search metadata

CVE search record: CVE-2026-106560. Severity: high. CVSS: 7.1. KEV: no. Product: plugin-scaffolder-backend-module-confluence-to-markdown (< 0.3.25). Brief: Improper Repository Path Validation in Backstage Scaffolder Backend Module. Brief link: https://feed.craftedsignal.io/briefs/2026-10-07-backstage-path-traversal/

Triage facts

Revision 2
Applicability
plugin-scaffolder-backend-module-confluence-to-markdown (< 0.3.25)
Evidence
Unknown
Severity
High
Action
Elevated
Sources
2 public sources
Freshness
Revision 2Oct 7, 22:54 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely
Revision history 1 entry · Revision 2
  1. Revision 2

    Repaired a legacy canonical identity collision

    Changed: slug

Backstage, an open platform for building developer portals, contains a path traversal vulnerability in the Scaffolder backend module @backstage/plugin-scaffolder-backend-module-confluence-to-markdown. The vulnerability, tracked as CVE-2026-106560, stems from improper validation of repository file location inputs provided by users. An authenticated attacker who can execute affected templates and control repository path parameters can escape the restricted task workspace. By manipulating these paths, the attacker can force the Backstage backend process to write files into any directory on the server that the backend process has permissions to access. This can lead to arbitrary file creation or overwriting of configuration files, potentially facilitating further system compromise or persistent unauthorized access. The issue was addressed in version 0.3.25 of the affected module.

Impact

Successful exploitation allows authenticated users to bypass directory restrictions within the Scaffolder environment. This vulnerability impacts organizations hosting Backstage instances that utilize the affected Confluence-to-Markdown Scaffolder action. An attacker could overwrite critical application files or drop web shells if the backend process runs with elevated privileges, leading to full application compromise or unauthorized data modification.

Recommendation

  • Upgrade the @backstage/plugin-scaffolder-backend-module-confluence-to-markdown package to version 0.3.25 or later.
  • Implement access control restrictions to limit which users can execute templates that utilize the Confluence-to-Markdown action until the update is deployed.
  • Audit logs for the Backstage backend process to identify suspicious template execution attempts involving unusual file paths (e.g., paths containing '..').

Immediate actions

Upgrade @backstage/plugin-scaffolder-backend-module-confluence-to-markdown to 0.3.25

IT Operations 24h

Mitigations

Restrict template execution to trusted users or disable the affected action

immediate Security Engineering

CVE-2026-106560