{"id":"CVE-2025-55285","aliases":["GHSA-3x3q-ghcp-whf7"],"url":"https://o3.security/vulnerability/CVE-2025-55285","summary":"@backstage/plugin-scaffolder-backend Template Secret Leakage in Logs in Scaffolder When Using `fetch:template`","details":"A logging flaw in Backstage Scaffolder’s `fetch:template` action up to `@backstage/plugin-scaffolder-backend` **2.1.0** may write template secrets to logs. The action emitted a duplicate, pre-redaction copy of input parameters, so values provided via the `{{ secrets }}` bag could appear in local/server logs when the action ran. Exploitation requires use of the `secrets` argument and access to Scaffolder/build logs; integrity and availability are unaffected.\n\n*   **Fix:** upgrade to `2.1.1`, which removes the duplicate log path and ensures secrets are redacted.\n*   **Mitigation:** avoid passing `{{ secrets }}` to `fetch:template` if upgrade is not possible.\n\n> Open an issue in the [Backstage repository](https://github.com/backstage/backstage)\n>\n> Visit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)","published":"2025-08-15T17:10:26.735Z","modified":"2026-10-28T02:31:11.904499802Z","cvss":{"score":2.6,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@backstage/plugin-scaffolder-backend","fixedVersion":"2.1.1"}],"fix":{"url":"https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e","label":"backstage/backstage@c371f6f"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55285.json"},{"type":"ADVISORY","url":"https://github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55285"},{"type":"FIX","url":"https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:11.904499802Z"}}