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-106489 Overview
CVE-2026-106489 is an improper authorization vulnerability in the @backstage/plugin-techdocs-backend package of Backstage, an open framework for building developer portals. Versions prior to 2.2.4 fail to properly enforce permissions on TechDocs static content paths. An authenticated user with access to one TechDocs documentation site can craft a URL that reads documentation belonging to a different catalog entity. The flaw only affects deployments using the external TechDocs builder with an external storage provider such as Amazon S3 or Google Cloud Storage (GCS) alongside the Backstage permission framework. The issue is tracked as [CWE-22] (Path Traversal) and is fixed in version 2.2.4.
Critical Impact
Authenticated users can bypass TechDocs permission checks and read documentation for entities they are not authorized to view, exposing potentially sensitive internal engineering content.
Affected Products
- Backstage @backstage/plugin-techdocs-backend prior to version 2.2.4
- Deployments using the external TechDocs builder with external storage (S3, GCS, etc.)
- Backstage instances with the permission framework enabled
Discovery Timeline
- 2026-10-06 - CVE-2026-106489 published to the National Vulnerability Database (NVD)
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2026-106489
Vulnerability Analysis
The TechDocs backend serves rendered static documentation for catalog entities from an external object store. When the permission framework is enabled, the backend is expected to authorize requests on a per-entity basis before returning static assets. Prior to version 2.2.4, the router did not validate that the requested static content path remained scoped to the authorized entity directory. An authenticated user could therefore request assets outside the entity's documentation namespace by crafting a URL containing relative path segments.
This results in disclosure of documentation content belonging to other entities, including documentation that the user has no permission to read. Instances that do not use the permission framework are unaffected because TechDocs content is intentionally visible to all authenticated users in that configuration.
Root Cause
The root cause is missing path normalization and containment checks in plugins/techdocs-backend/src/service/router.ts. The handler trusted the client-supplied path when fetching static assets from the external storage provider, allowing traversal sequences such as .. to escape the entity-scoped prefix used for permission checks.
Attack Vector
Exploitation requires network access to the Backstage instance and valid authenticated credentials with access to at least one TechDocs site. The attacker constructs a URL to the TechDocs static content endpoint containing encoded path traversal segments that resolve outside the authorized entity directory, causing the backend to fetch and return another entity's documentation.
// Security patch in plugins/techdocs-backend/src/service/router.ts
// Adds path containment validation for TechDocs static content
} from '@backstage/backend-plugin-api';
import { CatalogService } from '@backstage/plugin-catalog-node';
import { durationToMilliseconds } from '@backstage/types';
import path from 'node:path';
const isPathWithinEntity = (requestPath: string): boolean => {
const relativePath = path.posix.normalize(
decodeURI(requestPath).replace(/^\/+/, ''),
);
return relativePath !== '..' && !relativePath.startsWith('../');
};
Source: GitHub Backstage Commit bf6bbf7. The patch decodes and normalizes the request path, then rejects any path that resolves above the entity root.
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 AttacksDetection Methods for CVE-2026-106489
Indicators of Compromise
- TechDocs backend access logs containing requests with .., %2e%2e, or URL-encoded traversal sequences in the static content path
- Requests from a single authenticated user that resolve to multiple distinct entity namespaces in a short interval
- External storage access logs (S3, GCS) showing object retrievals that do not correspond to the entity in the originating Backstage request
Detection Strategies
- Parse Backstage reverse proxy and application logs for requests to /api/techdocs/static/docs/ paths containing traversal characters or redundant slashes
- Correlate the authenticated principal on each TechDocs request with the entity owner metadata to flag unauthorized cross-entity reads
- Enable server-side access logging on the TechDocs S3 or GCS bucket and alert on reads outside the user's expected entity scope
Monitoring Recommendations
- Forward Backstage application logs and object storage access logs into a centralized analytics pipeline for retroactive hunting
- Baseline the normal distribution of entities each user accesses and alert on sudden expansion
- Track volume anomalies on the techdocs-backend static content route following the disclosure date
How to Mitigate CVE-2026-106489
Immediate Actions Required
- Upgrade @backstage/plugin-techdocs-backend to version 2.2.4 or later and redeploy Backstage
- Audit access logs from the disclosure date forward for traversal patterns and cross-entity reads
- Review which catalog entities contain sensitive documentation and rotate any secrets accidentally stored in TechDocs content
Patch Information
The fix is included in Backstage release v1.54.6 and @backstage/plugin-techdocs-backend version 2.2.4. The patch introduces an isPathWithinEntity check that normalizes the decoded request path and rejects any path resolving outside the entity directory. See the GitHub Security Advisory GHSA-rg9r-hr7g-5gc2 and the Backstage Release v1.54.6 notes for details.
Workarounds
- Disable the permission framework for TechDocs if cross-entity visibility is acceptable in your environment, since unprotected deployments are not in scope for this issue
- Place a reverse proxy or web application firewall rule in front of Backstage that rejects requests to TechDocs static routes containing .. or encoded traversal sequences
- Restrict the IAM scope of the Backstage service account on the external storage bucket so that compromise of a single entity path cannot be chained with other access
# Example upgrade of the affected package
yarn workspace backend add @backstage/plugin-techdocs-backend@^2.2.4
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

