Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Backstage with scaffolder access
-
DeliveryRun eligible Bitbucket pull-request template
-
ExploitTarget attacker-influenced repo with crafted symlink
-
ExecutionClone/copy follows symlink out of workspace
-
ImpactWrite or overwrite files on backend
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated Backstage user (PR:L) who is permitted to execute one of the vulnerable Bitbucket pull-request Scaffolder actions AND can influence an 'allowed' target Bitbucket repository (cloud or server). The concrete trigger shown in the fixing tests is a crafted symlink inside the cloned repository that redirects the workspace-to-temp copy outside the expected temporary directory. Limiting factors that reduce real-world risk: it is not anonymous/default-config exploitation - the attacker needs scaffolder template-execution rights and control (or influence) over the repository the action operates on, and the deployment must be running @backstage/plugin-scaffolder-backend-module-bitbucket-cloud < 0.3.10 or -bitbucket-server < 0.2.25. Per the vendor, the only complete fix is upgrading; interim workarounds are restricting affected templates to trusted users and avoiding templates that accept user-controlled target repositories. |
| Impact | The signals point in two directions and must be weighed together. The CVSS 3.1 base score is 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) and the SSVC technical impact is rated 'total', so a successful attack is genuinely severe - arbitrary file writes outside the working area on the Backstage backend, mapped to CWE-22/CWE-59. Against that, the exploitation-pressure signals are low: EPSS is 0.33% (24th percentile), SSVC Exploitation is 'none' (not observed), SSVC Automatable is 'no', the CVE is not in CISA KEV, and no public exploit or PoC reference is provided - only the vendor advisory and the fixing commit. The 'no' on Automatable aligns with the real preconditions: the attacker must be an authenticated Backstage user (PR:L) able to run an eligible Scaffolder template and influence an allowed Bitbucket repository, which is not a spray-and-pray internet-facing condition. This is therefore a real, high-impact, patch-now issue for anyone running the affected Bitbucket scaffolder modules - consistent with the vuln.today 'act_now' decision label - but the low EPSS and SSVC 'none' indicate the threat is latent/targeted rather than active mass exploitation at the time of analysis. Note the tension to verify: CVSS implies AV:N/AC:L (easy, network-reachable) yet the description and the fixing tests show exploitation is gated behind template-execution privileges plus control of an allowed repository, so real-world ease is lower than the 9.9 alone suggests. |
| Exploit ScenarioDerived | An authenticated Backstage user who is allowed to run a Bitbucket pull-request Scaffolder template points it at a Bitbucket repository they control that contains a crafted symlink. When the action clones that repository and copies the workspace files in, the symlink redirects writes to a path outside the intended temporary working area, letting the attacker read, overwrite, or corrupt files on the backend host. No public exploit was identified at time of analysis, but the fixing commit's tests explicitly demonstrate the symlink-escape mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 23, 2026
The Bitbucket pull-request Scaffolder actions in Backstage can be abused by an authenticated user with template-execution rights and influence over the target Bitbucket repository to copy files outside the intended temporary workspace, potentially affecting backend confidentiality, integrity or availability. Deployments running @backstage/plugin-scaffolder-backend-module-bitbucket-cloud before 0.3.10 or @backstage/plugin-scaffolder-backend-module-bitbucket-server before 0.2.25 (Backstage before 1.54.6) are affected; the vendor rates the issue CVSS 9.9 (scope changed, PR:L). No public exploit identified at time of analysis (EPSS 0.33%, CISA SSVC exploitation: none), but vendor-released fixed versions exist and the issue carries an act_now priority.
Earlier versions of this analysis (1)
Path traversal in the Backstage Scaffolder Bitbucket pull-request publish actions allows an authenticated user who can execute an eligible template and influence an allowlisted Bitbucket repository to write files outside the expected working area, potentially compromising backend confidentiality, integrity, and availability. Affected are @backstage/plugin-scaffolder-backend-module-bitbucket-cloud before 0.3.10 and @backstage/plugin-scaffolder-backend-module-bitbucket-server before 0.2.25 (shipped with Backstage before the v1.54.6 release). Exploitation requires an authenticated account with template-execution privileges, control over the contents of a repository already present in the Bitbucket allowlist, and the source-branch creation flow to be exercised, which is why the assessed vector carries high attack complexity (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H, score 8.5); this is not reachable by an anonymous remote attacker on a default install, and no public exploit code has been identified at time of analysis.
RemediationAI
Upgrade @backstage/plugin-scaffolder-backend-module-bitbucket-cloud to 0.3.10 or later and @backstage/plugin-scaffolder-backend-module-bitbucket-server to 0.2.25 or later; the matching Backstage release is v1.54.6. The vendor advisory is https://github.com/backstage/backstage/security/advisories/GHSA-g8rx-f7m5-7794 and the fix commit is https://github.com/backstage/backstage/commit/818528e112c36167d76187e9e63fb518399c4dd2. Per the vendor, upgrading is the only complete fix; interim workarounds are to restrict execution of affected Scaffolder templates to trusted users and to avoid templates that accept user-controlled target repositories for these actions. Given the act_now priority and the high impact of the issue, prioritize the upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Backstage's Scaffolder runs template actions on the backend, and the Bitbucket Cloud and Bitbucket Server modules implement pull-request actions that clone a repository into a temporary directory and then copy the Scaffolder workspace into that clone. The root cause is improper filesystem path validation (CWE-22) combined with link following (CWE-59): the vulnerable code used fs.cpSync(sourceDir, tempDir, { recursive: true }), and the fixing tests show that a crafted symlink inside the cloned repository can conflict with a workspace directory and redirect the copy outside the expected temporary working area. The upstream fix replaces fs.cpSync with fs-extra's fs.copySync and adds tests confirming that a cloned repository containing a conflicting symlink is rejected with 'Cannot overwrite non-directory' rather than writing through the link. Exploitation requires PR:L, meaning an authenticated user who is permitted to execute one of the vulnerable pull-request actions and who can influence an allowed Bitbucket repository; the scope change in the CVSS vector reflects impact extending beyond the vulnerable component to the backend host's filesystem. The advisory states that, depending on the backend deployment, confidentiality, integrity or availability could be compromised.
Know when Backstage gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Authenticated scaffolder user gives PR:L; once allowed to run the action the symlink trigger is straightforward (AC:L); writes escape the working area onto the backend (S:C) with total confidentiality, integrity and availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Backstage is an open framework for building developer portals. Prior to 0.3.10 in @backstage/plugin-scaffolder-backend-module-bitbucket-cloud and 0.2.25 in @backstage/plugin-scaffolder-backend-module-bitbucket-server, the Bitbucket pull-request Scaffolder actions did not sufficiently validate filesystem paths. An authenticated user who can execute an eligible template and influence an allowed Bitbucket repository could affect paths outside the expected working area, potentially compromising backend confidentiality, integrity, or availability. This issue is fixed in @backstage/plugin-scaffolder-backend-module-bitbucket-cloud 0.3.10 and @backstage/plugin-scaffolder-backend-module-bitbucket-server 0.2.25.
Technical POC Analysis
CWE-22 (Path Traversal), with CWE-59 (Link Following) listed as a secondary weakness in the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical vulnerability in Backstage's Bitbucket pull-request scaffolder actions allows authenticated users with template-execution rights to copy files outside the intended temporary workspace, potentially compromising backend confidentiality, integrity, and availability. Organizations using affected Backstage versions with Bitbucket Cloud or Server integrations are at risk, and leadership should prioritize patching because the flaw carries a CVSS score of 9.9 and an act_now priority from the vendor.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Catalog ingestion policy bypass in @backstage/plugin-catalog-backend lets an authenticated user holding the catalog.loca
Backstage is an open platform for building developer portals. Rated critical severity (CVSS 9.9), this vulnerability is
Authenticated Backstage users can retrieve the internal execution data of other users' Scaffolder tasks - notably the Se
Arbitrary Python code execution in Backstage's @backstage/plugin-techdocs-node (versions < 1.13.11 and = 1.14.0) lets a
Authenticated users who can register or modify a TechDocs documentation source can achieve code execution inside the Bac
Authenticated remote code execution in the @backstage/plugin-techdocs-node package shipped with the Backstage developer
Arbitrary code execution in Backstage TechDocs documentation builds allows an authenticated user with write access to a
Improper task-state validation in the @backstage/plugin-scaffolder-backend plugin (Backstage versions prior to 3.3.1, 3.
Arbitrary code execution on the TechDocs backend host is achievable through a sanitizer bypass in the @backstage/plugin-
Improper input validation in the @backstage/plugin-scaffolder-backend-module-sentry scaffolder actions (Backstage 0.3.0
@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. Rated high severity (C
Authenticated users of Backstage Scaffolder can bypass administrator-configured action restrictions in @backstage/plugin
EUVD-2026-94003
GHSA-g8rx-f7m5-7794
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB