Summary
Backstage: Secret-derived values may be exposed in scaffolder task logs
Advisory 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.secretsuntil a patched version is available.
No complete workaround is known that preserves both untrusted template authoring and access to sensitive default-environment secrets.
References
- https://github.com/advisories/GHSA-mfvq-x7vr-rgqg
- https://github.com/backstage/backstage/security/advisories/GHSA-mfvq-x7vr-rgqg
- https://nvd.nist.gov/vuln/detail/CVE-2026-106499
- https://github.com/backstage/backstage/commit/dc30fae2d96cb1606d36cc40b242f9b9e539bd70
- https://github.com/backstage/backstage/releases/tag/v1.54.6
Related vulnerabilities
All Supply chain →- MEDIUMCVE-2026-106502
Backstage may expose sensitive information in Scaffolder task failure events
- MEDIUMCVE-2026-106504
Backstage has sensitive information exposure in scaffolder task logs
- MEDIUMCVE-2026-86597
Snowflake drivers writes sensitive information to logs
- MEDIUMCVE-2026-104872
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
- HIGHGHSA-v853-p72q-4cfw
Quart leaks raw request body (incl. plaintext passwords) to stdout via stray debug print in Body.__await__
- MEDIUMGHSA-fj2x-mqqp-3v2w
Trigger.dev: Trigger CLI debug deployment logs expose resolved environment secret values