Relative Path Traversal Affecting @backstage/plugin-techdocs-backend package, versions <2.2.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BACKSTAGEPLUGINTECHDOCSBACKEND-20825500
  • published11 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

NewCVE-2026-106490  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade @backstage/plugin-techdocs-backend to version 2.2.4 or higher.

Overview

@backstage/plugin-techdocs-backend is a The Backstage backend plugin that renders technical documentation for your components

Affected versions of this package are vulnerable to Relative Path Traversal via the /static/docs/:namespace/:kind/:name route handler in router.ts, where the isPathWithinEntity function fails to account for backslash-encoded traversal sequences when validating the requested content path. An authenticated attacker can craft a request containing backslash characters to escape the intended entity directory and read TechDocs content belonging to other entities, bypassing entity-level permission checks.

Note: This is only exploitable when using the Azure Blob Storage provider and when entity-level permissions are enabled.

CVSS Base Scores

version 4.0
version 3.1