Template Secret leakage in logs in Scaffolder when using `fetch:template`
Package
Affected versions
<= 2.1.0
Patched versions
2.1.1
Description
Published by the National Vulnerability Database
Aug 15, 2025
Published to the GitHub Advisory Database
Aug 15, 2025
Reviewed
Aug 15, 2025
Last updated
Sep 26, 2025
A logging flaw in Backstage Scaffolder’s
fetch:templateaction up to@backstage/plugin-scaffolder-backend2.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 thesecretsargument and access to Scaffolder/build logs; integrity and availability are unaffected.2.1.1, which removes the duplicate log path and ensures secrets are redacted.{{ secrets }}tofetch:templateif upgrade is not possible.References