Path Traversal in @backstage/plugin-scaffolder-backend
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. In affected versions a malicious actor with write access to a registered scaffolder template is able to manipulate the template in a way that writes files to arbitrary paths on the scaffolder-backend host instance. This vulnerability can in some situation also be exploited through user input when executing a template, meaning you do not need write access to the templates. This method will not allow the attacker to control the contents of the injected file however, unless the template is also crafted in a specific way that gives control of the file contents. This vulnerability is fixed in version `0.15.14` of the `@backstage/plugin-scaffolder-backend`. This attack is mitigated by restricting access and requiring reviews when registering or modifying scaffolder templates.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | backstage | before 0.15.14 | 0.15.14 | Patch available | CNA |
| — | @backstage/plugin-scaffolder-backend (npm) | before 0.15.14 | 0.15.14 | Patch available | GHSA-mg3m-f475-28hv |
- backstage Vendorbackstage Affected before 0.15.14 Fixed in 0.15.14 Patch available CNA
- @backstage/plugin-scaffolder-backend (npm) Vendor— Affected before 0.15.14 Fixed in 0.15.14 Patch available GHSA-mg3m-f475-28hv
Remediation
- Fix · CNA backstage (backstage) Fixed in 0.15.14
- Fix · GHSA-mg3m-f475-28hv @backstage/plugin-scaffolder-backend (npm) Fixed in 0.15.14 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43783
- 2026-10-03 Alias added: GHSA-mg3m-f475-28hv
References
More Backstage vulnerabilities
- TI-2023-17988 Insecure sandbox in Backstage Scaffolder plugin CVSS 3.1CRITICAL 9.9
- TI-2026-69075 Sensitive information exposure in Backstage Scaffolder CVSS 3.1CRITICAL 9.6
- TI-2026-69061 Path traversal in Backstage Bitbucket pull-request scaffolder actions CVSS 3.1CRITICAL 9.9
- TI-2026-60083 Backstage: Improper input validation in TechDocs MkDocs configuration CVSS 3.1HIGH 8.8
- TI-2026-69165 Backstage TechDocs config flaw allows code execution CVSS 3.1HIGH 8.8
- TI-2026-69083 Code injection via MkDocs theme configuration in Backstage TechDocs CVSS 3.1HIGH 8.8
Sources
- CVE-2021-43783 · CVE Program
- CVE-2021-43783 · NVD
- FIRST EPSS
- GHSA-mg3m-f475-28hv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences