{"id":"GHSA-mfvq-x7vr-rgqg","summary":"Backstage: Secret-derived values may be exposed in scaffolder task logs","details":"### Impact\n\nDeployments 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.\n\n### Patches\n\nPatched in `@backstage/plugin-scaffolder-backend` version `4.1.0`\n\n### Workarounds\n\n- Restrict permission to create or update Template entities to fully trusted parties, as recommended by the Backstage threat model.\n- If that restriction cannot be guaranteed, remove sensitive values from `scaffolder.defaultEnvironment.secrets` until a patched version is available.\n\nNo complete workaround is known that preserves both untrusted template authoring and access to sensitive default-environment secrets.","aliases":["CVE-2026-106499"],"modified":"2026-10-07T18:15:10.788059211Z","published":"2026-10-07T17:59:14Z","database_specific":{"nvd_published_at":"2026-10-06T22:17:04Z","cwe_ids":["CWE-532"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-07T17:59:14Z"},"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-mfvq-x7vr-rgqg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106499"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/dc30fae2d96cb1606d36cc40b242f9b9e539bd70"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"},{"type":"WEB","url":"https://github.com/backstage/backstage/releases/tag/v1.54.6"}],"affected":[{"package":{"name":"@backstage/plugin-scaffolder-backend","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-mfvq-x7vr-rgqg/GHSA-mfvq-x7vr-rgqg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"}]}