Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-106459 Overview
CVE-2026-106459 affects the @backstage/plugin-scaffolder-backend-module-sentry package in Backstage, an open framework for building developer portals. The flaw stems from improper input validation in Sentry scaffolder actions. An authenticated internal user able to execute the affected actions can redirect backend requests to unintended destinations and disclose Sentry integration credentials.
The weakness is categorized under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor. Downstream impact depends on network reachability from the Backstage backend and the privileges attached to the configured Sentry token.
Critical Impact
Authenticated attackers can coerce the Backstage backend into contacting attacker-controlled endpoints and leak Sentry API credentials, enabling lateral access to the Sentry organization.
Affected Products
- Backstage @backstage/plugin-scaffolder-backend-module-sentry versions 0.3.0 through 0.3.7
- Backstage release bundle v1.54.x prior to v1.54.8
- Backstage release bundle v1.55.0 and earlier affected variants
Discovery Timeline
- 2026-10-06 - CVE-2026-106459 published to NVD
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2026-106459
Vulnerability Analysis
The sentry:project:create scaffolder action accepts an apiBaseUrl input that is used to construct outbound HTTP requests to the Sentry API. Before the fix, this input was not constrained against the operator-defined scaffolder.sentry.apiBaseUrl configuration value. An authenticated user capable of executing the scaffolder template can supply an arbitrary host.
When the backend issues the request, it attaches the configured Sentry integration token in the Authorization header. Redirecting the request to an attacker-controlled endpoint causes the token to be transmitted to that destination. The leaked token then grants access to the Sentry organization under whatever scopes were provisioned, which commonly include project and member management.
Because the backend performs the outbound call, the request originates from inside the trust boundary of the Backstage deployment. This produces a server-side request forgery condition alongside the credential disclosure, enabling probing of internal services reachable from the backend.
Root Cause
The scaffolder action trusted template-supplied values for the Sentry API base URL without validating them against the application configuration. The patch introduces a resolveSentryApiBaseUrl helper and a requestSentryApi wrapper that enforce the operator-configured base URL before any outbound call.
Attack Vector
An authenticated internal user with permission to execute the vulnerable scaffolder template submits a crafted apiBaseUrl pointing to an attacker-controlled host. The Backstage backend sends the request with the configured Sentry credentials, exposing the token.
// Patch excerpt: plugins/scaffolder-backend-module-sentry/src/actions/createProject.ts
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import { InputError } from '@backstage/errors';
import { Config } from '@backstage/config';
+import { requestSentryApi, resolveSentryApiBaseUrl } from './sentryApi';
/**
* Creates the `sentry:project:create` Scaffolder action.
Source: GitHub Commit b0170fa
The companion documentation change clarifies that the API base URL must match the operator-configured value:
// Patch excerpt: createProject.examples.ts
- description: 'Creates a Sentry project with a custom API base URL.',
+ description:
+ 'Creates a Sentry project with an API base URL that matches the operator configured scaffolder.sentry.apiBaseUrl.',
example: yaml.stringify({
steps: [
{
id: 'create-sentry-project',
action: 'sentry:project:create',
- name: 'Create a Sentry project with custom API base URL.',
+ name: 'Create a Sentry project with the configured API base URL.',
Source: GitHub Commit b0170fa
Detection Methods for CVE-2026-106459
Indicators of Compromise
- Outbound HTTP requests from the Backstage backend to hostnames other than the configured scaffolder.sentry.apiBaseUrl value.
- Scaffolder template executions invoking sentry:project:create with user-supplied apiBaseUrl parameters that deviate from the operator baseline.
- Unexpected Sentry API audit log entries originating from unknown IP addresses using the organization's integration token.
Detection Strategies
- Review Backstage scaffolder audit logs for sentry:project:create invocations and extract the apiBaseUrl input for each run.
- Baseline the egress destinations from the Backstage backend process and alert on any new domains contacted with Authorization: Bearer headers.
- Correlate Sentry token usage in Sentry's audit log against the known Backstage source IP range.
Monitoring Recommendations
- Enable network egress logging on the Backstage backend and forward it to a central SIEM for anomaly review.
- Rotate the Sentry integration token on a defined cadence and monitor for token use outside expected windows.
- Track package versions of @backstage/plugin-scaffolder-backend-module-sentry in software composition analysis tooling to flag deployments below 0.3.8.
How to Mitigate CVE-2026-106459
Immediate Actions Required
- Upgrade @backstage/plugin-scaffolder-backend-module-sentry to version 0.3.8 or later.
- Upgrade the Backstage bundle to v1.54.8 or v1.55.0 or later as applicable to your release train.
- Rotate the Sentry integration token used by the scaffolder, assuming prior exposure until logs prove otherwise.
- Audit scaffolder templates for any user-supplied apiBaseUrl fields and remove them where not operationally required.
Patch Information
The fix is tracked in GitHub Security Advisory GHSA-g734-fhp4-7mfp and committed in GitHub Commit b0170fa. The patch is included in Backstage Release v1.54.8 and Backstage Release v1.55.0. The scaffolder action now resolves the API base URL from the backend configuration rather than from template input.
Workarounds
- Restrict scaffolder action execution permissions so only trusted operators can run sentry:project:create until the patch is deployed.
- Scope the Sentry integration token to the minimum required projects and permissions to reduce impact if disclosed.
- Enforce egress network policies that only allow the Backstage backend to reach the sanctioned Sentry API host.
# Upgrade the vulnerable package to the fixed release
yarn workspace backend add @backstage/plugin-scaffolder-backend-module-sentry@^0.3.8
# Verify the installed version
yarn why @backstage/plugin-scaffolder-backend-module-sentry
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

