CVE-2021-41151: Path Traversal in @backstage/plugin-scaffolder-backend
Vulnerability summary
CVE-2021-41151 is a medium (CVSS 6.8) vulnerability in backstage. EPSS estimates a 1.31% chance of exploitation in the next 30 days, higher than 71.7% of scored vulnerabilities.
Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 18-10-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
Backstage is an open platform for building developer portals. In affected versions A malicious actor could read sensitive files from the environment where Scaffolder Tasks are run. The attack is executed by crafting a custom Scaffolder template with a `github:publish:pull-request` action and a particular source path. When the template is executed the sensitive files would be included in the published pull request. This vulnerability is mitigated by the fact that an attacker would need access to create and register templates in the Backstage catalog, and that the attack is very visible given that the exfiltration happens via a pull request. The vulnerability is patched in the `0.15.9` release of `@backstage/plugin-scaffolder-backend`.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- NVDNIST4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
1.31%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.31% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
@backstage1 product
- plugin-scaffolder-backend≥ 0.9.4, < 0.15.9
Backstage1 product
- backstage≥ 0.9.4, < 0.15.9
Linuxfoundation1 product
- backstage≥ 0.9.4, < 0.15.9
3 vendors · 3 products
References
5 links- github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673X Refsource CONFIRMWEBThird Party Advisory
- github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006X Refsource MISCWEBPatchThird Party Advisory