CVE-2026-25152 @backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator
Attackers can read arbitrary host files via symlink traversal in TechDocs local generator when configured to run locally.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-25152?
CVE-2026-25152 is a medium-severity path traversal vulnerability in Linuxfoundation Backstage, published on 30 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Backstage is an open framework for building developer portals, and @backstage/plugin-techdocs-node provides common node.js functionalities for TechDocs. In versions of @backstage/plugin-techdocs-node prior to 1.13.11 and 1.14.1, 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. This vulnerability is fixed in` @backstage/plugin-techdocs-node` versions 1.13.11 and 1.14.1. Some workarounds are available. Switch to `runIn: docker` in `app-config.yaml` and/or restrict write access to TechDocs source repositories to trusted users only.
Weakness: CWE-22
Which versions are affected by CVE-2026-25152?
4 open source packages ship an affected version, including @backstage/plugin-techdocs-node. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@backstage/plugin-techdocs-node npm | All versions | 1.13.11 |
@backstage/plugin-techdocs-node npm | All versions | 1.13.11 |
@backstage/plugin-techdocs-node npm | From 1.14.0 | 1.14.1 |
@backstage/plugin-techdocs-node npm | From 1.14.0 | 1.14.1 |
Products include Linuxfoundation Backstage.
How do I fix CVE-2026-25152?
Upgrade @backstage/plugin-techdocs-node to a fixed version for your release line: 1.13.11 or 1.14.1.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-25152 being exploited?
There is no known exploitation of CVE-2026-25152 in the wild and no public exploit code.
Other vulnerabilities in Linuxfoundation Backstage
- CVE-2026-106501 Backstage: Sensitive information exposure in Scaffolder
- CVE-2026-106558 Backstage: Improper validation of TechDocs MkDocs configuration
- CVE-2026-88064 Backstage: Improper input validation in TechDocs MkDocs configuration
- CVE-2026-106459 Backstage: Improper input validation in Sentry scaffolder actions
- CVE-2026-106486 Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions
Sources
Also known as GHSA-w669-jj7h-88m9.