Insertion of Sensitive Information into Log File Affecting @backstage/plugin-scaffolder-backend package, versions <4.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BACKSTAGEPLUGINSCAFFOLDERBACKEND-20825377
  • published11 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

NewCVE-2026-106502  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade @backstage/plugin-scaffolder-backend to version 4.1.0 or higher.

Overview

@backstage/plugin-scaffolder-backend is a The Backstage backend plugin that helps you create new things

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the collectSecretRedactions function in NunjucksWorkflowRunner.ts, which fails to redact secret values from task step logs under certain conditions. The logger is initialised after an early-exit check, meaning secrets are not registered for redaction when a task is cancelled or encounters an error before the logger is created. Additionally, the diffing logic in collectSecretRedactions compares object entries by index rather than by key, causing secret-influenced values to be missed when the rendered object's key order differs between the secrets-present and secrets-absent renders, allowing secret values to appear in plain text in scaffolder task logs.

CVSS Base Scores

version 4.0
version 3.1