Symlink Attack Affecting @backstage/plugin-scaffolder-backend-module-bitbucket-cloud package, versions <0.3.10


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Symlink Attack vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BACKSTAGEPLUGINSCAFFOLDERBACKENDMODULEBITBUCKETCLOUD-20825502
  • published11 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

NewCVE-2026-106486  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade @backstage/plugin-scaffolder-backend-module-bitbucket-cloud to version 0.3.10 or higher.

Overview

@backstage/plugin-scaffolder-backend-module-bitbucket-cloud is a The Bitbucket Cloud module for @backstage/plugin-scaffolder-backend

Affected versions of this package are vulnerable to Symlink Attack via the pull request workspace copy logic in bitbucketServerPullRequest.ts (and the corresponding Bitbucket Cloud action), where fs.cpSync is used with the recursive: true option to copy source files into a temporary directory. Node's native fs.cpSync follows symbolic links when copying recursively, allowing an attacker who controls the source repository contents to include symlinks that escape the intended workspace boundary and read or overwrite arbitrary files on the server.

CVSS Base Scores

version 4.0
version 3.1