Skip to main content
Vulnerability Database/CVE-2026-106461

CVE-2026-106461: Backstage Auth Bypass Vulnerability

CVE-2026-106461 is an authorization bypass flaw in Backstage scaffolder backend that allows authenticated users to view unauthorized task metadata. This post explains its impact, affected versions, and mitigation steps.

Published:

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-106461 Overview

CVE-2026-106461 is an incorrect authorization vulnerability [CWE-863] in the @backstage/plugin-scaffolder-backend package of Backstage, an open framework for building developer portals. Versions prior to 4.1.0 fail to properly enforce permission policy decisions when listing scaffolder tasks. An authenticated internal user can retrieve metadata for scaffolder tasks that fall outside their intended visibility scope. Stored task secrets remain protected and are not exposed through the vulnerable response. The flaw is fixed in version 4.1.0 of the affected plugin.

Critical Impact

Authenticated users may enumerate scaffolder task metadata beyond the boundaries defined by deployment permission policies, leading to information disclosure of task details across tenant or team boundaries.

Affected Products

  • Backstage @backstage/plugin-scaffolder-backend prior to 4.1.0
  • Backstage releases prior to v1.54.6
  • Deployments relying on scaffolder permission policies for task visibility

Discovery Timeline

  • 2026-10-06 - CVE-2026-106461 published to NVD
  • 2026-10-07 - Last updated in NVD database

Technical Details for CVE-2026-106461

Vulnerability Analysis

The vulnerability resides in the scaffolder backend's task listing endpoint. The scaffolder plugin uses Backstage's permission framework to filter which tasks a given user should see. The task listing code did not correctly honor the authorization decision returned by the permission framework. When the policy returned a denied or conditional decision, the backend treated the request as allowed and returned task metadata the caller should not have accessed.

The impact is limited to confidentiality. The affected response does not expose stored task secrets, and the issue has no integrity or availability impact. Exploitation requires an authenticated session in the Backstage instance, so the vulnerability affects internal visibility boundaries rather than unauthenticated attackers.

Root Cause

The root cause is incorrect handling of authorization conditions in the scaffolder backend permission helper. The getAuthorizeConditions utility previously returned undefined for non-conditional decisions without distinguishing between an allowed outcome and a denied outcome. Callers interpreted that undefined as "no filter required" and returned unfiltered task data.

Attack Vector

An authenticated user issues a request to the scaffolder task listing API. Because the backend does not translate deny decisions into an exception or empty result, the API returns metadata for scaffolder tasks that the caller's permission policy intended to hide. No special tooling is required beyond a valid Backstage session.

typescript
   }
 }
 
-/** Fetches and transforms authorization conditions into filters, or returns `undefined` if the decision is not conditional.
+/** Fetches and transforms authorization conditions into filters, throws for denied decisions, or returns `undefined` if allowed.
  * @public
  */
 export const getAuthorizeConditions = async (

Source: Backstage commit 0253c50. The patch updates getAuthorizeConditions so that denied decisions raise an error rather than being silently treated as allowed, ensuring the task listing route respects the permission policy outcome.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-106461

Indicators of Compromise

  • Unexpected GET requests to scaffolder task listing endpoints (for example /api/scaffolder/v2/tasks) by users whose permission scope should return no results.
  • Audit log entries showing task metadata reads by principals outside the owning team or namespace.
  • Spikes in task enumeration volume from a single authenticated user or service account.

Detection Strategies

  • Correlate Backstage access logs with permission policy decisions to identify requests where returned task counts exceed policy-expected visibility.
  • Review Backstage backend logs for scaffolder task API calls that succeed despite a deny decision from the permission framework.
  • Compare the identity principal of task list requests against the task owner metadata to flag cross-team reads.

Monitoring Recommendations

  • Enable structured audit logging for the scaffolder backend and forward logs to a centralized SIEM.
  • Alert on high-cardinality enumeration of scaffolder task IDs by a single user within a short window.
  • Monitor for installations of @backstage/plugin-scaffolder-backend at versions earlier than 4.1.0 across build pipelines and container images.

How to Mitigate CVE-2026-106461

Immediate Actions Required

  • Upgrade @backstage/plugin-scaffolder-backend to version 4.1.0 or later.
  • Upgrade the Backstage distribution to release v1.54.6 or later, which includes the fixed plugin.
  • Review scaffolder task audit logs for prior cross-boundary task metadata access by internal users.
  • Rotate any sensitive values that may have been inferred from exposed task metadata, even though stored secrets were not disclosed.

Patch Information

The fix is published in Backstage release v1.54.6 and corresponds to commit 0253c50673f2832b0b1e9f73348186434e7bd09e in the plugins/scaffolder-backend/src/util/checkPermissions.ts file. Full remediation details are available in the GitHub Security Advisory GHSA-7hfw-grcm-cqm6 and the Backstage v1.54.6 release notes.

Workarounds

  • If immediate upgrade is not possible, restrict access to the scaffolder task listing endpoint at the ingress or reverse proxy layer to trusted administrators only.
  • Tighten permission policies so that users with partial scaffolder access are temporarily denied all task read permissions until the patched version is deployed.
  • Disable the scaffolder plugin in multi-tenant deployments where cross-team task metadata exposure is unacceptable.
bash
# Upgrade the affected plugin in a Backstage workspace
yarn workspace backend add @backstage/plugin-scaffolder-backend@^4.1.0
yarn install
yarn tsc && yarn build:backend

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.