CVE-2026-25152: @backstage/plugin-techdocs-node Path Traversal Vulnerability in TechDocs Local Generator

Summary

02/02/2026
Yes i
Moderate
5.3

CVE-2026-25152: @backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator. Affects @backstage/plugin-techdocs-node across 2 version ranges.

< 1.13.11 >= 1.14.0, < 1.14.1

Fixed in 1.13.11 or 1.14.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The @backstage/plugin-techdocs-node package is a crucial component of the Backstage platform, enabling users to generate and manage technical documentation. It leverages MkDocs for building documentation, allowing for easy integration and deployment of tech docs. However, a vulnerability has been identified that could allow unauthorized access to sensitive files on the host filesystem when configured to run locally.

Vulnerability Detail

A path traversal vulnerability exists in the TechDocs local generator of the @backstage/plugin-techdocs-node package. This issue arises when the documentation is processed from untrusted sources, as symlinks within the docs directory are followed by MkDocs during the build process. This can lead to attackers reading arbitrary files from the host filesystem, potentially exposing sensitive information to users who can access the documentation.

How To Fix

Latest published version: 2.1.0 as of 23 Oct 2026

npm install @backstage/plugin-techdocs-node@2.1.0

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.13.11 1.13.11
    npm install @backstage/plugin-techdocs-node@1.13.11
  • >= 1.14.0, < 1.14.1 1.14.1
    npm install @backstage/plugin-techdocs-node@1.14.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, users can switch the configuration to run the generator in a Docker container. This can be done by modifying the app-config.yaml file as follows:

techdocs: generator: runIn: docker

Additionally, it is advisable to restrict write access to TechDocs source repositories to trusted users only.

Conclusion

The path traversal vulnerability in the @backstage/plugin-techdocs-node package poses a significant risk when running the TechDocs local generator. Users are strongly advised to upgrade to the patched versions or implement the suggested workarounds to mitigate potential threats.

See every vulnerability recorded for @backstage/plugin-techdocs-node →

Share this vulnerability

FAQ

A path traversal vulnerability allows an attacker to access files and directories that are stored outside the intended directory, potentially leading to unauthorized data exposure.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without any signup.

The risks include unauthorized access to sensitive files on the host filesystem, which could lead to data breaches or exposure of confidential information.

If an immediate upgrade is not possible, implement the recommended workarounds, such as switching to Docker for running the generator and restricting access to trusted users.

The CVSS score of this vulnerability is 5.3, indicating a moderate level of risk.

Related vulnerabilities

Recent vulnerabilities recorded for @backstage/plugin-techdocs-node.

How To Fix

Latest published version: 2.1.0 as of 23 Oct 2026

npm install @backstage/plugin-techdocs-node@2.1.0

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.13.11 1.13.11
    npm install @backstage/plugin-techdocs-node@1.13.11
  • >= 1.14.0, < 1.14.1 1.14.1
    npm install @backstage/plugin-techdocs-node@1.14.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback