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

Published Jan 30, 2026
·
Updated

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

Other sources

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.

MITRE

Affected Software

5 affected componentsFixes available
npm/@backstage/plugin-techdocs-node<1.13.11, <1.14.1
npm/@backstage/plugin-techdocs-node<1.13.11
1.13.11
npm/@backstage/plugin-techdocs-node=1.14.0
1.14.1
linuxfoundation Backstage<1.13.11
linuxfoundation Backstage>=1.14.0<1.14.1

Event History

Jan 30, 2026
CVE Published
via MITRE·09:51 PM
Data Sourced
via MITRE·09:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
Affected Software
Feb 2, 2026
Advisory Published
via GitHub·02:36 PM
Data Sourced
via GitHub·02:36 PM
DescriptionSeverityWeaknessAffected Software
Aug 19, 58109
Event
via FIRST·08:18 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-25152?

CVE-2026-25152 is classified as a moderate severity vulnerability due to its potential for path traversal attacks.

2

How do I fix CVE-2026-25152?

To mitigate CVE-2026-25152, upgrade @backstage/plugin-techdocs-node to version 1.14.1 or later.

3

Which versions of @backstage/plugin-techdocs-node are affected by CVE-2026-25152?

CVE-2026-25152 affects versions prior to 1.13.11 and 1.14.1 of @backstage/plugin-techdocs-node.

4

What type of attack is possible with CVE-2026-25152?

CVE-2026-25152 allows attackers to perform path traversal attacks to read arbitrary files from the host filesystem.

5

Is CVE-2026-25152 specific to any configuration?

Yes, CVE-2026-25152 occurs when Backstage is configured with techdocs.generator.runIn set to 'local'.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203