@backstage/plugin-scaffolder-backend Template Secret Leakage in Logs in Scaffolder When Using `fetch:template` (backstage backstage)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % Β· percentile 16 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-532 β Insertion of Sensitive Information into Log File
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N | GitHub_M |
| CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-3x3q-ghcp-whf7 β Template Secret leakage in logs in Scaffolder when using `fetch:template`
European references
- ENISA EUVD Β· EUVD-2025-25046
- GCVE Β· GCVE-0-2025-55285
Affected products
| Product | Versions |
|---|---|
| backstage Β· backstage | affected < 2.1.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |