Advisory

GHSA-mfvq-x7vr-rgqg

Also known as: CVE-2026-106499

Summary

Backstage: Secret-derived values may be exposed in scaffolder task logs

Details

Impact

Deployments that configure sensitive scaffolder.defaultEnvironment.secrets and allow an attacker to create or modify Scaffolder templates are affected. A template author could cause secret-derived values used during template iteration to be persisted in task logs, exposing those values to users with access to the resulting task logs.

Patches

Patched in @backstage/plugin-scaffolder-backend version 4.1.0

Workarounds

  • Restrict permission to create or update Template entities to fully trusted parties, as recommended by the Backstage threat model.
  • If that restriction cannot be guaranteed, remove sensitive values from scaffolder.defaultEnvironment.secrets until a patched version is available.

No complete workaround is known that preserves both untrusted template authoring and access to sensitive default-environment secrets.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-07 17:59 UTC
Modified
2026-10-07 18:15 UTC

Affected packages and fixes

@backstage/plugin-scaffolder-backend

npm · All systems

Affected

  • introduced 0, fixed 4.1.0 (semver)

Fixed versions

4.1.0

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