{"id":"CVE-2026-32237","published":"2026-03-12T18:38:57Z","modified":"2026-03-12T20:46:35Z","title":"@backstage/plugin-scaffolder-backend: Possible exposure of defaultEnvironment secrets using dry-run endpoint","vendor":"@backstage","product":"plugin-scaffolder-backend","tier":"tail","description":{"text":"Backstage is an open framework for building developer portals. Prior to 3.1.5, authenticated users with permission to execute scaffolder dry-runs can gain access to server-configured environment secrets through the dry-run API response. Secrets are properly redacted in log output but not in all parts of the response payload. Deployments that have configured scaffolder.defaultEnvironment.secrets are affected. This is patched in @backstage/plugin-scaffolder-backend version 3.1.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00284,"percentile":0.21385,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-8wq8-6859-qx77","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/commit/3b62dd2d6bf7623ebd23e4b5a6dceb209f98dfce","tags":["x_refsource_MISC"]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":4.28},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"@backstage","product":"plugin-scaffolder-backend","versions":["< 3.1.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-12T20:38:11.609691Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","vulnerableRanges":[">=3.1.0, <3.1.5"],"patched":["3.1.5"],"from":["GHSA-8wq8-6859-qx77"],"provenance":"source"}],"summary":{"text":"The flaw is in the scaffolder dry-run API of the @backstage/plugin-scaffolder-backend component of the Backstage developer portal framework, where secrets from the server-configured defaultEnvironment are exposed in the response payload even though they are redacted in log output. An attacker who is an authenticated user holding permission to execute scaffolder dry-runs can obtain these secrets over the network, but only on deployments that have configured scaffolder.defaultEnvironment.secrets, and only with high attack complexity and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:07Z"},"euvd":{"id":"EUVD-2026-11675","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-backstage-plugin-scaffolder-backend-cve-2026-32237","children":[{"from":"CVE-2026-32237","to":"CVE-2026-106503","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@backstage/plugin-scaffolder-backend","fromFixed":"3.1.5","toFixed":"3.3.1","daysApart":208},{"kind":"same-code","provenance":"machine","files":["plugins/scaffolder-backend/src/scaffolder/tasks/NunjucksWorkflowRunner.ts"],"commits":["https://github.com/backstage/backstage/commit/11c1384c0649b8ab26391c6a4e4f34b80ab0d188","https://github.com/backstage/backstage/commit/a91ed72d540e80b62a73b39bb1563ff5018d52d1","https://github.com/backstage/backstage/commit/3b62dd2d6bf7623ebd23e4b5a6dceb209f98dfce"],"basis":"shared function","functions":["NunjucksWorkflowRunner"]}]}],"packageHistory":[{"cve":"CVE-2025-55285","published":"2025-08-15","fixed":"2.1.1","kev":false},{"cve":"CVE-2026-24046","published":"2026-01-21","fixed":"3.1.1","kev":false},{"cve":"CVE-2026-29184","published":"2026-03-07","fixed":"3.1.4","kev":false,"link":{"from":"CVE-2026-29184","to":"CVE-2026-32237","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@backstage/plugin-scaffolder-backend","fromFixed":"3.1.4","toFixed":"3.1.5","daysApart":5}]}},{"cve":"CVE-2026-32237","published":"2026-03-12","fixed":"3.1.5","kev":false},{"cve":"CVE-2026-106461","published":"2026-10-06","fixed":"4.1.0","kev":false},{"cve":"CVE-2026-106462","published":"2026-10-06","fixed":"4.1.0","kev":false},{"cve":"CVE-2026-106499","published":"2026-10-06","fixed":"4.1.0","kev":false},{"cve":"CVE-2026-106501","published":"2026-10-06","fixed":"4.1.0","kev":false,"link":{"from":"CVE-2026-32237","to":"CVE-2026-106501","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@backstage/plugin-scaffolder-backend","fromFixed":"3.1.5","toFixed":"3.3.1","daysApart":208}]}}],"package":"npm:@backstage/plugin-scaffolder-backend"}}