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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-10-18 · Modified: 2024-08-04
- Aliases: GHSA-pvv8-8fx9-h673
- Record: https://cvemate.com/vulnerability/CVE-2021-41151 · JSON: https://cvemate.com/vulnerability/CVE-2021-41151/json

## Description

```text
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`.
```

## Signals

- CVSS: 6.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- EPSS: 1.315%, percentile 71.726%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- backstage backstage: ≥ 0.9.4, \< 0.15.9
- linuxfoundation backstage: ≥ 0.9.4, \< 0.15.9
- @backstage plugin-scaffolder-backend (Npm): ≥ 0.9.4, \< 0.15.9

## References

- <https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673>
- <https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41151>
- <https://github.com/backstage/backstage>
- <https://github.com/backstage/backstage/releases/tag/release-2021-10-16>

---

Data as of 2026-12-05T09:35:13.407Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
