# CVE-2021-43783: Path Traversal in @backstage/plugin-scaffolder-backend

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.25%, higher than 69% of CVEs (2026-11-30)
- Published: 2021-11-29T19:20:09.000Z
- Modified: 2026-07-08T06:53:07.906Z
- Also known as: GHSA-mg3m-f475-28hv
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

@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.

(As written by CVE List.)

## Affected

- backstage backstage: < 0.15.14
- @backstage/plugin-scaffolder-backend (npm): before 0.15.14
- linuxfoundation backstage: before 0.15.14

## Every score

- GitHub_M: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`
- NVD: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:P`

## References

- <https://github.com/backstage/backstage/security/advisories/GHSA-mg3m-f475-28hv> (third-party-advisory, web)
- <https://github.com/backstage/backstage/commit/f9352ab606367cd9efc6ff048915c70ed3013b7f> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43783> (advisory)
- <https://github.com/backstage/backstage> (package)

## Sources

- CVE List: [CVE-2021-43783](https://www.cve.org/CVERecord?id=CVE-2021-43783), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-mg3m-f475-28hv](https://github.com/advisories/GHSA-mg3m-f475-28hv), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-43783](https://nvd.nist.gov/vuln/detail/CVE-2021-43783), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43783 · Whole record: https://cve.day/CVE-2021-43783.json · Rebuilt by cve.day 2026-11-25T22:24:36.115Z
