CVE-2026-25152 @backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| backstage | = < 1.13.11 | No fix listed |
| backstage | = = 1.14.0 | No fix listed |
| backstage @backstage/plugin-techdocs-node(npm) | = 1.14.0 | No fix listed |
| backstage @backstage/plugin-techdocs-node(npm) | < 1.13.11 | 1.13.11 |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) | All versions | No fix listed |
| linuxfoundation backstage | < 1.13.11 | 1.13.11 |
| linuxfoundation backstage | >= 1.14.0, < 1.14.1 | 1.14.1 |
References
- https://github.com/backstage/backstage/security/advisories/GHSA-w669-jj7h-88m9 vendor-advisory
- nvd.nist.gov third-party-advisory
- github.com patch
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2435575 issue-tracking
- www.cve.org