CVE-2026-25152: @backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator
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.
Published Feb 2, 2026
Affected packages
@backstage/plugin-techdocs-node
- Ecosystem
- npm
- Affected
- = 1.14.0
- Fixed in
- 1.14.1
- Check
npm ls @backstage/plugin-techdocs-node
@backstage/plugin-techdocs-node
- Ecosystem
- npm
- Affected
- < 1.13.11
- Fixed in
- 1.13.11
- Check
npm ls @backstage/plugin-techdocs-node
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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: dockerin yourapp-config.yaml:
techdocs:
generator:
runIn: docker- Restrict write access to TechDocs source repositories to trusted users only
References
- https://backstage.io/docs/features/techdocs/configuration
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-106455
Backstage: Improper validation of MkDocs plugin configuration in TechDocs
high7.7Oct 7, 2026CVE-2026-106505
Backstage: Bypass of MkDocs configuration sanitizer in TechDocs backend
high7.7Oct 7, 2026CVE-2026-106508
Backstage has potential file exposure through local TechDocs publisher
medium5.3Oct 7, 2026CVE-2026-106509
Backstage: Improper validation of MkDocs theme configuration in TechDocs
high7.7Oct 7, 2026CVE-2026-106510
Backstage: Remote code execution via crafted markdown_extensions in TechDocs mkdocs.yml
high7.7Oct 7, 2026CVE-2026-106557
Backstage has improper input validation in TechDocs Markdown extension configuration
high7.7Oct 7, 2026
