All reports
Medium

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

Affected versions

Affected versions
< 4.1.0
Fixed version
4.1.0
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-106499

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-21

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.

Links