CVE-2021-41151
MEDIUM 4.9CVSS 3.1Path Traversal in @backstage/plugin-scaffolder-backend
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.
- Published
- 18 Oct 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Undergoing Analysis
- Weakness
- CWE-22
- Also known as
- GHSA-pvv8-8fx9-h673
- Sources
- NVDJSONOSV GHSA-pvv8-8fx9-h673JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | backstagecpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:* |
>= 0.9.4, < 0.15.9 | 0.15.9 |
| OSV | npm | @backstage/plugin-scaffolder-backend | >= 0.9.4, < 0.15.9 | 0.15.9 |
References
- https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006 · Patch, Third Party Advisory, WEB
- https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-41151 · ADVISORY
- https://github.com/backstage/backstage · PACKAGE
- https://github.com/backstage/backstage/releases/tag/release-2021-10-16 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 18 Oct 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Oct 2021)