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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e patch
- github.com
- github.com product