Live threats

All CVEs / Linuxfoundation

CVE-2021-41151Linuxfoundation Backstage

Medium 4.9

Priority
30
CVSS 3.1
4.9
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
Yes
Published
Oct 18, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Backstage.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @backstage/plugin-scaffolder-backend ≥ 0.9.4 < 0.15.9 0.15.9 npm install @backstage/plugin-scaffolder-backend@0.15.9

Per OSV / GitHub Advisories (GHSA-pvv8-8fx9-h673). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationbackstage≥ 0.9.4 < 0.15.9

Official sources

References

Links published by the sources. Open them with care.