{"id":"CVE-2025-55285","published":"2025-08-15T17:10:26Z","modified":"2025-08-15T17:49:24Z","title":"@backstage/plugin-scaffolder-backend Template Secret Leakage in Logs in Scaffolder When Using `fetch:template`","vendor":"backstage","product":"backstage","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.6,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00282,"percentile":0.21212,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e","tags":["x_refsource_MISC"]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":4.24},{"name":"CVSS severity","points":1.82}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"backstage","product":"backstage","versions":["< 2.1.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-15T17:49:07.268161Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","vulnerableRanges":["<2.1.1"],"patched":["2.1.1"],"from":["GHSA-3x3q-ghcp-whf7"],"provenance":"source"}],"summary":{"text":"The flaw is in the scaffolder backend of Backstage, specifically the @backstage/plugin-scaffolder-backend package, where the fetch:template action logs input values that duplicate its arguments, so some secrets passed to it are not properly redacted from the logs. An attacker who can read those logs can obtain the secrets, but only when a template passes a ${{ secrets.x }} value into fetch:template, and exploiting it requires that the attacker can read the logs, has privileges to use the scaffolder, and that a user takes an action during the run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:40Z"},"euvd":{"id":"EUVD-2025-25046","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-41151","published":"2021-10-18","fixed":"0.15.9","kev":false},{"cve":"CVE-2021-43783","published":"2021-11-29","fixed":"0.15.14","kev":false},{"cve":"CVE-2023-35926","published":"2023-06-22","fixed":"1.15.0","kev":false},{"cve":"CVE-2025-55285","published":"2025-08-15","fixed":"2.1.1","kev":false},{"cve":"CVE-2026-24046","published":"2026-01-21","fixed":"3.1.1","kev":false,"link":{"from":"CVE-2025-55285","to":"CVE-2026-24046","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@backstage/plugin-scaffolder-backend","fromFixed":"2.1.1","toFixed":"2.2.2","daysApart":159}]}},{"cve":"CVE-2026-29184","published":"2026-03-07","fixed":"3.1.4","kev":false},{"cve":"CVE-2026-32237","published":"2026-03-12","fixed":"3.1.5","kev":false}],"package":"npm:@backstage/plugin-scaffolder-backend"}}