{"cve":"CVE-2021-41151","nvd":{"published":"2021-10-18T21:15:07.813","modified":"2026-06-17T04:07:58.617","status":"Undergoing Analysis","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9},"cwes":["CWE-22"],"references":["https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006","https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673","https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006","https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673"],"products":["linuxfoundation:backstage"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-41151","score":0.01315,"percentile":0.70744,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-pvv8-8fx9-h673","url":"https://osv.dev/vulnerability/GHSA-pvv8-8fx9-h673","summary":"Path Traversal in @backstage/plugin-scaffolder-backend ","modified":"2026-07-08T06:52:57.175634706Z","packages":[{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","ranges":[">=0.9.4 <0.15.9"],"fixed":["0.15.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}