CVE-2025-55285: Template Secret leakage in logs in Scaffolder when using `fetch:template`
A logging flaw in Backstage Scaffolder’s fetch:template action up to @backstage/plugin-scaffolder-backend 2.1.0 may write template secrets to logs. The action emitted a duplicate, pre-redaction copy of input parameters, so values provided via the {{ secrets }} bag could appear in local/server logs when the action ran. Exploitation requires use of the secrets argument and access to Scaffolder/build logs;
Published Aug 15, 2025 · Updated Sep 26, 2025
Affected packages
@backstage/plugin-scaffolder-backend
- Ecosystem
- npm
- Affected
- <= 2.1.0
- Fixed in
- 2.1.1
- Check
npm ls @backstage/plugin-scaffolder-backend
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A logging flaw in Backstage Scaffolder’s fetch:template action up to @backstage/plugin-scaffolder-backend 2.1.0 may write template secrets to logs. The action emitted a duplicate, pre-redaction copy of input parameters, so values provided via the {{ secrets }} bag could appear in local/server logs when the action ran. Exploitation requires use of the secrets argument and access to Scaffolder/build logs; integrity and availability are unaffected.
- Fix: upgrade to
2.1.1, which removes the duplicate log path and ensures secrets are redacted. - Mitigation: avoid passing
{{ secrets }}tofetch:templateif upgrade is not possible.
Open an issue in the Backstage repository > > Visit our Discord, linked to in Backstage README
Credited to cai0duque.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-106461
Backstage: Incorrect authorization in scaffolder task listing
medium4.3Oct 7, 2026CVE-2026-106462
Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback
medium6.4Oct 7, 2026CVE-2026-106499
Backstage: Secret-derived values may be exposed in scaffolder task logs
medium4.9Oct 7, 2026CVE-2026-106500
Backstage: Improper task state validation in Scaffolder backend
high8.5Oct 7, 2026CVE-2026-106501
Backstage: Sensitive information exposure in Scaffolder
critical9.6Oct 7, 2026CVE-2026-106502
Backstage may expose sensitive information in Scaffolder task failure events
medium5.3Oct 7, 2026
