CVE-2026-32237: @backstage/plugin scaffolder backend Possible Exposure Of DefaultEnvironment Secrets Vulnerability

MODERATE
Advisory Identifier: GHSA-8wq8-6859-qx77
CVSS 4.4
CWE-200
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-32237
GHSA Identifier GHSA-8wq8-6859-qx77
Severity MODERATE
CVSS v3.1 Base Score 4.4
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product @backstage/plugin scaffolder backend
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

@backstage/plugin-scaffolder-backend fixed: 3.1.5
npm install @backstage/plugin-scaffolder-backend@3.1.5
Verify Direct and Transitive Dependencies

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

### Impact 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. ### Patches This is patched in `@backstage/plugin-scaffolder-backend` version 3.1.5 ### Workarounds Remove or empty the `scaffolder.defaultEnvironment.secrets` configuration from `app-config.yaml`. Alternatively, restrict access to the scaffolder dry-run functionality via the permissions framework. ### References - [Backstage Scaffolder Backend documentation](https://backstage.io/docs/features/software-templates/)

CVE-2026-32237 Affected @backstage/plugin scaffolder backend Versions

1 component(s)
Fixed Versions:
3.1.5
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?
CVE-2026-32237 is a security vulnerability in @backstage/plugin scaffolder backend involving Possible exposure of defaultEnvironment secrets using dry-run endpoint under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which @backstage/plugin scaffolder backend versions are affected?
Affected versions include releases prior to 3.1.5 across affected packages: @backstage/plugin-scaffolder-backend.
What version fixes CVE-2026-32237?
Upgrading to 3.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @backstage/plugin-scaffolder-backend affected?
Yes, @backstage/plugin-scaffolder-backend is affected in releases prior to 3.1.5. Upgrade your dependency to 3.1.5 or later.
What is the CVSS score of CVE-2026-32237?
CVE-2026-32237 has a CVSS v3.1 base score of 4.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-32237?
CVE-2026-32237 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check npm dependencies for CVE-2026-32237?
Run the dependency tree command: 'npm ls @backstage/plugin-scaffolder-backend'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}