CVE-2026-106499
JSON

4.9medium

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

Severity
4.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mfvq-x7vr-rgqg

Description

Backstage is an open framework for building developer portals. Prior to 4.1.0, the @backstage/plugin-scaffolder-backend package could expose secret-derived values in Scaffolder task logs. 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 and exposed to users who can access the resulting task logs. This issue is fixed in version 4.1.0.

Affected

Product or packageVersionsReported by
backstage backstage< 1.54.6CVE List
@backstage plugin-scaffolder-backend< 4.1.0CVE List
@backstage/plugin-scaffolder-backend (npm)before 4.1.0GitHub Advisory Database
linuxfoundation backstage/plugin-scaffolder-backendbefore 4.1.0NVD
linuxfoundation backstagebefore 1.54.6NVD

All scores

GitHub_M4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHub4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Backstage is an open framework for building developer portals. Prior to 4.1.0, the @backstage/plugin-scaffolder-backend package could expose secret-derived values in Scaffolder task logs. 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 and exposed to users who can access the resulting task logs. This issue is fixed in version 4.1.0.

GitHub Advisory Database
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

Sources

SourceRecordLicence
CVE ListCVE-2026-106499 changed 2026-10-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-mfvq-x7vr-rgqg changed 2026-10-07CC-BY-4.0
NVDCVE-2026-106499 changed 2026-10-15Public domain