# GHSA-MFVQ-X7VR-RGQG: Backstage: Secret-derived values may be exposed in scaffolder task logs

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-10-07
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-106499](https://cve.now/CVE-2026-106499.md): Backstage: Secret-derived values may be exposed in scaffolder task logs

## Affected versions

- @backstage/plugin-scaffolder-backend (npm): fixed in 4.1.0

## Description

### 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.

## References

- 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
- https://github.com/backstage/backstage/releases/tag/v1.54.6

Page: https://cve.now/GHSA-MFVQ-X7VR-RGQG

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
