Vulnerabilities in pkg:npm/@backstage/plugin-scaffolder-backend

PACKAGE
Advisory Identifier: GHSA-29gx-h2m3-xw44
Advisory Summary

CVE-2026-106462 is a MODERATE (CVSS 6.4) backstage's scaffolder credential handling may vulnerability (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) affecting @backstage/plugin scaffolder backend module bitbucket cloud libraries in the npm ecosystem. The issue involves backstage's scaffolder credential handling may allow unintended github authentication fallback. Remediation is available by upgrading affected packages to version 0.3.10, 0.2.25, 4.1.0, 0.9.13, 0.11.10.

17 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@backstage/plugin-scaffolder-backend

17 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@backstage/plugin-scaffolder-backend. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-29gx-h2m3-xw44 CVE-2026-106462 MODERATE Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback
GHSA-g2v8-7jhw-pp8p CVE-2026-106501 CRITICAL Backstage: Sensitive information exposure in Scaffolder
GHSA-mfvq-x7vr-rgqg CVE-2026-106499 MODERATE Backstage: Secret-derived values may be exposed in scaffolder task logs
GHSA-hmp2-4m7g-22cv CVE-2026-106503 HIGH Backstage: Scaffolder action input authorization bypass
GHSA-xvgh-hmx8-9xxf CVE-2026-106500 HIGH Backstage: Improper task state validation in Scaffolder backend
GHSA-7hfw-grcm-cqm6 CVE-2026-106461 MODERATE Backstage: Incorrect authorization in scaffolder task listing
GHSA-95p4-vv4g-jxxm CVE-2026-106502 MODERATE Backstage may expose sensitive information in Scaffolder task failure events
GHSA-4xvq-3m68-h444 CVE-2026-106504 MODERATE Backstage has sensitive information exposure in scaffolder task logs
GHSA-vwp5-f99x-x3rq CVE-2026-106506 MODERATE Backstage has improper input validation in scaffolder task list ordering
GHSA-8wq8-6859-qx77 CVE-2026-32237 MODERATE @backstage/plugin-scaffolder-backend: Possible exposure of defaultEnvironment secrets using dry-run endpoint
GHSA-8qp7-fhr9-fw53 CVE-2026-29184 LOW @backstage/plugin-scaffolder-backend Vulnerable to Potential Session Token Exfiltration via Log Redaction Bypass
GHSA-rq6q-wr2q-7pgp CVE-2026-24046 HIGH Backstage has a Possible Symlink Path Traversal in Scaffolder Actions
GHSA-3x3q-ghcp-whf7 CVE-2025-55285 LOW Template Secret leakage in logs in Scaffolder when using `fetch:template`
GHSA-wg6p-jmpc-xjmr CVE-2023-35926 HIGH Backstage Scaffolder plugin has insecure sandbox
GHSA-mg3m-f475-28hv CVE-2021-43783 HIGH Path Traversal in @backstage/plugin-scaffolder-backend
GHSA-2g8g-63j4-9w3r - HIGH RCE vulnerability affecting v1beta3 templates in @backstage/plugin-scaffolder-backend
GHSA-pvv8-8fx9-h673 CVE-2021-41151 MODERATE Path Traversal in @backstage/plugin-scaffolder-backend

CVE-2026-106462 at a Glance

CVE Identifier CVE-2026-106462
GHSA Identifier GHSA-29gx-h2m3-xw44
Severity MODERATE
CVSS v3.1 Base Score 6.4
CWE Classification CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
Affected Product @backstage/plugin scaffolder backend module bitbucket cloud
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-106462

To remediate this vulnerability, upgrade all affected @backstage/plugin scaffolder backend module bitbucket cloud dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@backstage/plugin-scaffolder-backend-module-bitbucket-cloud fixed: 0.3.10
npm install @backstage/plugin-scaffolder-backend-module-bitbucket-cloud@0.3.10
@backstage/plugin-scaffolder-backend-module-bitbucket-server fixed: 0.2.25
npm install @backstage/plugin-scaffolder-backend-module-bitbucket-server@0.2.25
@backstage/plugin-scaffolder-backend fixed: 4.1.0
npm install @backstage/plugin-scaffolder-backend@4.1.0
@backstage/plugin-scaffolder-backend-module-github fixed: 0.9.13
npm install @backstage/plugin-scaffolder-backend-module-github@0.9.13
@backstage/plugin-scaffolder-backend-module-gitlab fixed: 0.11.10
npm install @backstage/plugin-scaffolder-backend-module-gitlab@0.11.10
@backstage/plugin-scaffolder-backend-module-azure fixed: 0.2.25
npm install @backstage/plugin-scaffolder-backend-module-azure@0.2.25
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @backstage/plugin-scaffolder-backend-module-bitbucket-cloud

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-106462, inspect your project dependencies using npm:

npm ls @backstage/plugin-scaffolder-backend-module-bitbucket-cloud

Analyze the terminal output to locate any version of @backstage/plugin scaffolder backend module bitbucket cloud in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.10), your application is affected.

Note: The npm ls @backstage/plugin-scaffolder-backend-module-bitbucket-cloud command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy'), where the product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. this causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor. In @backstage/plugin scaffolder backend module bitbucket cloud, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Scaffolder actions that interact with source control systems may not consistently enforce the intended credential boundaries under certain configurations. An authenticated user could perform operations with broader access than intended. ### Patches - `@backstage/plugin-scaffolder-backend` version `4.1.0` - `@backstage/plugin-scaffolder-backend-module-azure` version `0.2.25` - `@backstage/plugin-scaffolder-backend-module-bitbucket-cloud` version `0.3.10` - `@backstage/plugin-scaffolder-backend-module-bitbucket-server` version `0.2.25` - `@backstage/plugin-scaffolder-backend-module-github` version `0.9.13` - `@backstage/plugin-scaffolder-backend-module-gitlab` version `0.11.10` The fix introduces a new configuration option that enforces user-provided credentials for supported SCM actions. The new behavior is opt-in for compatibility. After upgrading, set: ```yaml scaffolder: requireScmUserCredentials: true ``` Before enabling this setting, review and update your templates as described in the software templates documentation referred to below. ### Workarounds If you cannot upgrade and enable the setting immediately: - Restrict who can create Scaffolder tasks and which templates they can execute. - Limit SCM integration credentials to the minimum repository read and mutation permissions required. - Remove integration credentials for SCM hosts where all required operations can use explicitly supplied user tokens.

CVE-2026-106462 Affected @backstage/plugin scaffolder backend module bitbucket cloud Versions

6 component(s)
Fixed Versions:
0.3.100.2.254.1.00.9.130.11.10
Product / Package Ecosystem Affected Versions Fixed Version
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud
npm
< 0.3.10
0.3.10
@backstage/plugin-scaffolder-backend-module-bitbucket-server
npm
< 0.2.25
0.2.25
@backstage/plugin-scaffolder-backend
npm
< 4.1.0
4.1.0
@backstage/plugin-scaffolder-backend-module-github
npm
< 0.9.13
0.9.13
@backstage/plugin-scaffolder-backend-module-gitlab
npm
< 0.11.10
0.11.10
@backstage/plugin-scaffolder-backend-module-azure
npm
< 0.2.25
0.2.25

References

Frequently Asked Questions

What is CVE-2026-106462?
CVE-2026-106462 is a security vulnerability in @backstage/plugin scaffolder backend module bitbucket cloud involving Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy').
Which @backstage/plugin scaffolder backend module bitbucket cloud versions are affected?
Affected versions include releases prior to 0.3.10, 0.2.25, 4.1.0, 0.9.13, 0.11.10 across affected packages: @backstage/plugin-scaffolder-backend-module-bitbucket-cloud, @backstage/plugin-scaffolder-backend-module-bitbucket-server, @backstage/plugin-scaffolder-backend, @backstage/plugin-scaffolder-backend-module-github, @backstage/plugin-scaffolder-backend-module-gitlab, @backstage/plugin-scaffolder-backend-module-azure.
What version fixes CVE-2026-106462?
Upgrading to 0.3.10, 0.2.25, 4.1.0, 0.9.13, 0.11.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @backstage/plugin-scaffolder-backend-module-bitbucket-cloud affected?
Yes, @backstage/plugin-scaffolder-backend-module-bitbucket-cloud is affected in releases prior to 0.3.10. Upgrade your dependency to 0.3.10 or later.
Is @backstage/plugin-scaffolder-backend-module-bitbucket-server affected?
Yes, @backstage/plugin-scaffolder-backend-module-bitbucket-server is affected in releases prior to 0.2.25. Upgrade your dependency to 0.2.25 or later.
What is the CVSS score of CVE-2026-106462?
CVE-2026-106462 has a CVSS v3.1 base score of 6.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-106462?
CVE-2026-106462 is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy') (The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.).
How can I check npm dependencies for CVE-2026-106462?
Run the dependency tree command: 'npm ls @backstage/plugin-scaffolder-backend-module-bitbucket-cloud'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-29gx-h2m3-xw44",
  "modified" : "2026-10-07T18:01:54Z",
  "published" : "2026-10-07T18:01:53Z",
  "aliases" : [ "CVE-2026-106462" ],
  "summary" : "Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback",
  "details" : "### Impact\n\nScaffolder actions that interact with source control systems may not consistently enforce the intended credential boundaries under certain configurations. An authenticated user could perform operations with broader access than intended.\n\n### Patches\n\n- `@backstage/plugin-scaffolder-backend` version `4.1.0`\n- `@backstage/plugin-scaffolder-backend-module-azure` version `0.2.25`\n- `@backstage/plugin-scaffolder-backend-module-bitbucket-cloud` version `0.3.10`\n- `@backstage/plugin-scaffolder-backend-module-bitbucket-server` version `0.2.25`\n- `@backstage/plugin-scaffolder-backend-module-github` version `0.9.13`\n- `@backstage/plugin-scaffolder-backend-module-gitlab` version `0.11.10`\n\nThe fix introduces a new configuration option that enforces user-provided credentials for supported SCM actions. The new behavior is opt-in for compatibility. After upgrading, set:\n\n```yaml\nscaffolder:\n  requireScmUserCredentials: true\n```\n\nBefore enabling this setting, review and update your templates as described in the software templates documentation referred to below.\n\n### Workarounds\n\nIf you cannot upgrade and enable the setting immediately:\n\n- Restrict who can create Scaffolder tasks and which templates they can execute.\n- Limit SCM integration credentials to the minimum repository read and mutation permissions required.\n- Remove integration credentials for SCM hosts where all required operations can use explicitly supplied user tokens.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@backstage/plugin-scaffolder-backend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.1.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@backstage/plugin-scaffolder-backend-module-github"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@backstage/plugin-scaffolder-backend-module-gitlab"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.11.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@backstage/plugin-scaffolder-backend-module-azure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@backstage/plugin-scaffolder-backend-module-bitbucket-cloud"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.3.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@backstage/plugin-scaffolder-backend-module-bitbucket-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.25"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/backstage/backstage/security/advisories/GHSA-29gx-h2m3-xw44"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-106462"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/backstage/backstage/commit/6fb2a41ea47da37eafe5ea744050"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/backstage/backstage/commit/6fb2a41ea47da37eafe5ea744050ef90be6820c0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/backstage/backstage"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/backstage/backstage/releases/tag/v1.54.6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-441", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-07T18:01:53Z",
    "nvd_published_at" : "2026-10-06T21:17:17Z"
  }
}