GHSA-29gx-h2m3-xw44

Suggest an improvement
Source
https://github.com/advisories/GHSA-29gx-h2m3-xw44
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-29gx-h2m3-xw44
Aliases
Published
2026-10-07T18:01:53Z
Modified
2026-10-07T18:15:12Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback
Details

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:

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.
Database specific
{
    "cwe_ids": [
        "CWE-441",
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-07T18:01:53Z",
    "nvd_published_at": "2026-10-06T21:17:17Z",
    "severity": "MODERATE"
}
References

Affected packages

npm
@backstage/plugin-scaffolder-backend

Package

Name
@backstage/plugin-scaffolder-backend
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-backend

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"
@backstage/plugin-scaffolder-backend-module-github

Package

Name
@backstage/plugin-scaffolder-backend-module-github
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-backend-module-github

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.9.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"
@backstage/plugin-scaffolder-backend-module-gitlab

Package

Name
@backstage/plugin-scaffolder-backend-module-gitlab
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-backend-module-gitlab

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.11.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"
@backstage/plugin-scaffolder-backend-module-azure

Package

Name
@backstage/plugin-scaffolder-backend-module-azure
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-backend-module-azure

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.25

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud

Package

Name
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-backend-module-bitbucket-cloud

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.3.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"
@backstage/plugin-scaffolder-backend-module-bitbucket-server

Package

Name
@backstage/plugin-scaffolder-backend-module-bitbucket-server
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-backend-module-bitbucket-server

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.25

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-29gx-h2m3-xw44/GHSA-29gx-h2m3-xw44.json"