CVE-2021-43783

Path Traversal in @backstage/plugin-scaffolder-backend

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.

Category

8.5
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.34%
Third-Party Advisory github.com Third-Party Advisory github.com
Affected: backstage backstage
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-43783?
CVE-2021-43783 has been scored as a high severity vulnerability.
How to fix CVE-2021-43783?
To fix CVE-2021-43783, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-43783 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-43783 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-43783?
CVE-2021-43783 affects backstage backstage.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.