CVE-2021-41151: backstage Path Traversal
Vulnerability summary
CVE-2021-41151 is a medium (CVSS 6.8) Path Traversal vulnerability in backstage. EPSS estimates a 1.31% chance of exploitation in the next 30 days, higher than 70.2% of scored vulnerabilities.
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
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.31% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@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