Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @backstage/plugin-scaffolder-backend
  4. ›
  5. CVE-2025-55285

CVE-2025-55285: Template Secret leakage in logs in Scaffolder when using `fetch:template`

August 15, 2025 (updated September 26, 2025)

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.

  • Fix: upgrade to 2.1.1, which removes the duplicate log path and ensures secrets are redacted.
  • Mitigation: avoid passing {{ secrets }} to fetch:template if upgrade is not possible.

Open an issue in the Backstage repository

Visit our Discord, linked to in Backstage README

References

  • github.com/advisories/GHSA-3x3q-ghcp-whf7
  • github.com/backstage/backstage
  • github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e
  • github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7
  • nvd.nist.gov/vuln/detail/CVE-2025-55285

Code Behaviors & Features

Detect and mitigate CVE-2025-55285 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.1

Fixed versions

  • 2.1.1

Solution

Upgrade to version 2.1.1 or above.

Impact 2.6 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

npm/@backstage/plugin-scaffolder-backend/CVE-2025-55285.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 16 Nov 2025 00:19:05 +0000.