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
Aug 15, 2025
Impact
Duplicate logging of the input values in the
fetch:template
action in the Scaffolder meant that some of the secrets were not properly redacted. If you're not passing through${{ secrets.x }}
tofetch:template
there is no impact.Patches
This issue has been resolved in
2.1.1
of thescaffolder-backend
plugin.Workarounds
Template Authors can remove the use of
${{ secrets }}
being used as an argument tofetch:template
.References
If you have any questions or comments about this advisory:
Open an issue in the Backstage repository
Visit our Discord, linked to in Backstage README
References