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 package | Versions | Reported by |
|---|---|---|
| backstage backstage | < 1.54.6 | CVE List |
| @backstage plugin-scaffolder-backend | < 4.1.0 | CVE List |
| @backstage/plugin-scaffolder-backend (npm) | before 4.1.0 | GitHub Advisory Database |
| linuxfoundation backstage/plugin-scaffolder-backend | before 4.1.0 | NVD |
| linuxfoundation backstage | before 1.54.6 | NVD |
All scores
| GitHub_M | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Classification
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.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/backstage/backstage/security/advisories/GHSA-mfvq-x7vr-rgqg | mitigation, vendor-advisory, web | |
| https://github.com/backstage/backstage/commit/dc30fae2d96cb1606d36cc40b242f9b9e539bd70 | patch, web | |
| https://github.com/backstage/backstage/releases/tag/v1.54.6 | patch, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-106499 | advisory | |
| https://github.com/backstage/backstage | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-106499 changed 2026-10-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mfvq-x7vr-rgqg changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-106499 changed 2026-10-15 | Public domain |