🛡️ CVE-2021-43783 — plugin-scaffolder-backend
Description
Path Traversal in @backstage/plugin-scaffolder-backend
Impact
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.
Patches
This vulnerability is fixed in version 0.15.14 of the @backstage/plugin-scaffolder-backend.
Workarounds
This attack is mitigated by restricting access and requiring reviews when registering or modifying scaffolder templates.
For more information
If you have any questions or comments about this advisory:
- Open an issue in the [Backstage repository](https://github.com/backstage/backstage)
- Visit our chat, linked to in [Backstage README](https://github.com/backstage/backstage)
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality none, integrity high, availability low.
Weakness class
CVE-2021-43783 is classified as CWE-22: Path Traversal. A file path built from user input is not confined to the intended directory, letting an attacker reach files elsewhere on the filesystem.
Affected software
CVE-2021-43783 is recorded against 1 package.
- @backstage/plugin-scaffolder-backend
Timeline and source
Published on 1 December 2021 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| @backstage/plugin-scaffolder-backend | — | — |
References
Similar Threats
- Medium CVE-2026-32237
- Low CVE-2026-29184
- High CVE-2026-24046
- Low CVE-2025-55285
- High CVE-2023-35926
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Site Security Check
Is plugin-scaffolder-backend part of your stack?
CVE-2021-43783 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.