Advisory

GHSA-3x3q-ghcp-whf7

Also known as: CVE-2025-55285

Summary

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.

  • 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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-08-15 18:43 UTC
Modified
2025-09-26 17:19 UTC

Affected packages and fixes

@backstage/plugin-scaffolder-backend

npm · All systems

Affected

  • introduced 0, fixed 2.1.1 (semver)

Fixed versions

2.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences