Skip to content

CVE-2025-55285 @backstage/plugin-scaffolder-backend Template Secret Leakage in Logs in Scaffolder When Using `fetch:template`

LowCVSS 2.6 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. Prior to version 2.1.1, 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 ${{ secrets.x }} is not passed through to fetch:template there is no impact. This issue has been resolved in 2.1.1 of the scaffolder-backend plugin. A workaround for this issue involves Template Authors removing the use of ${{ secrets }} being used as an argument to fetch:template.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
backstage @backstage/plugin-scaffolder-backend(npm) < 2.1.1; <= 2.1.0 2.1.1 Fixed
backstage = < 2.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
backstage @backstage/plugin-scaffolder-backend(npm) <= 2.1.0 No fix listed
backstage = < 2.1.1 No fix listed
backstage @backstage/plugin-scaffolder-backend(npm) < 2.1.1 2.1.1

References