GitHub Advisoryadvisory · npm

GHSA-w669-jj7h-88m9 @backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator

MEDIUM Published 2026-02-02 Modified 2026-02-02 Official page ↗
Aliases
CVE-2026-25152
Ecosystem
npm
Packages
@backstage/plugin-techdocs-node
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2026-02-02

Affected packages

• npm @backstage/plugin-techdocs-node: >= 1.14.0, < 1.14.1 → fixed in 1.14.1 • npm @backstage/plugin-techdocs-node: < 1.13.11 → fixed in 1.13.11

Description

Impact A path traversal vulnerability in the TechDocs local generator allows attackers to read arbitrary files from the host filesystem when Backstage is configured with `techdocs.generator.runIn: local`. When processing documentation from untrusted sources, symlinks within the docs directory are followed by MkDocs during the build process. File contents are embedded into generated HTML and exposed to users who can view the documentation. Patches This vulnerability is fixed in` @backstage/plugin-techdocs-node` version X.X.X. Users should upgrade to this version or later. Workarounds • Switch to `runIn: docker` in your `app-config.yaml`: ```yaml techdocs: generator: runIn: docker ``` • Restrict write access to TechDocs source repositories to trusted users only References • https://backstage.io/docs/features/techdocs/configuration

Related

Alias · CVE (1)

  • CVE-2026-25152 Backstage is an open framework for building developer portals, and @backstage/plugin-techdocs-node provides common node.js functionalities… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References