CVE-2026-32237: @backstage/plugin scaffolder backend Possible Exposure Of DefaultEnvironment Secrets Vulnerability
MODERATECVE-2026-32237 is a MODERATE (CVSS 4.4) possible exposure of defaultenvironment secrets vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting @backstage/plugin scaffolder backend libraries in the npm ecosystem. The issue involves possible exposure of defaultenvironment secrets using dry-run endpoint. Remediation is available by upgrading affected packages to version 3.1.5.
CVE-2026-32237 at a Glance
Security Impact
CVSS: 4.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-32237
To remediate this vulnerability, upgrade all affected @backstage/plugin scaffolder backend dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @backstage/plugin-scaffolder-backend@3.1.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @backstage/plugin-scaffolder-backend
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-32237, inspect your project dependencies using npm:
npm ls @backstage/plugin-scaffolder-backend
Analyze the terminal output to locate any version of @backstage/plugin scaffolder backend in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.5), your application is affected.
Note: The npm ls @backstage/plugin-scaffolder-backend command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In @backstage/plugin scaffolder backend, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-32237 Affected @backstage/plugin scaffolder backend Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@backstage/plugin-scaffolder-backend
|
npm |
≥ 3.1.0
< 3.1.5
|
3.1.5
|
References
Frequently Asked Questions
What is CVE-2026-32237?
Which @backstage/plugin scaffolder backend versions are affected?
What version fixes CVE-2026-32237?
Is @backstage/plugin-scaffolder-backend affected?
What is the CVSS score of CVE-2026-32237?
What CWE is associated with CVE-2026-32237?
How can I check npm dependencies for CVE-2026-32237?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8wq8-6859-qx77",
"modified" : "2026-03-13T13:35:52Z",
"published" : "2026-03-12T14:51:06Z",
"aliases" : [ "CVE-2026-32237" ],
"summary" : "@backstage/plugin-scaffolder-backend: Possible exposure of defaultEnvironment secrets using dry-run endpoint",
"details" : "### Impact \n \n 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 \n redacted in log output but not in all parts of the response payload.\n \n Deployments that have configured `scaffolder.defaultEnvironment.secrets` are affected.\n \n ### Patches \n\n This is patched in `@backstage/plugin-scaffolder-backend` version 3.1.5\n ### Workarounds\n\n Remove or empty the `scaffolder.defaultEnvironment.secrets` configuration from `app-config.yaml`. Alternatively, restrict access to the scaffolder dry-run functionality via the\n permissions framework.\n\n ### References\n\n - [Backstage Scaffolder Backend documentation](https://backstage.io/docs/features/software-templates/)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@backstage/plugin-scaffolder-backend"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/security/advisories/GHSA-8wq8-6859-qx77"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32237"
}, {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/commit/3b62dd2d6bf7623ebd23e4b5a6dceb209f98dfce"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/backstage/backstage"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-12T14:51:06Z",
"nvd_published_at" : "2026-03-12T19:16:19Z"
}
}