GHSA-g8rx-f7m5-7794

Suggest an improvement
Source
https://github.com/advisories/GHSA-g8rx-f7m5-7794
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-g8rx-f7m5-7794/GHSA-g8rx-f7m5-7794.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g8rx-f7m5-7794
Aliases
Published
2026-10-07T18:01:26Z
Modified
2026-10-07T18:15:12Z
Severity
  • 8.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Backstage has iImproper filesystem validation in Bitbucket pull-request scaffolder actions
Details

Impact

An authenticated user who can execute an eligible template and influence an allowed Bitbucket repository could affect filesystem paths outside the expected working area. Depending on the backend deployment, this could compromise backend confidentiality, integrity, or availability.

Patches

  • @backstage/plugin-scaffolder-backend-module-bitbucket-cloud version 0.3.10
  • @backstage/plugin-scaffolder-backend-module-bitbucket-server version 0.2.25

Workarounds

  • Restrict execution of affected Scaffolder templates to trusted users.
  • Avoid templates that accept user-controlled target repositories for these actions.
Database specific
{
    "cwe_ids": [
        "CWE-22",
        "CWE-59"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-07T18:01:26Z",
    "nvd_published_at": "2026-10-06T21:17:17Z",
    "severity": "HIGH"
}
References

Affected packages

npm
@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-g8rx-f7m5-7794/GHSA-g8rx-f7m5-7794.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-g8rx-f7m5-7794/GHSA-g8rx-f7m5-7794.json"