Advisory

GHSA-w669-jj7h-88m9

Also known as: CVE-2026-25152

Summary

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

Details

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:
  techdocs:
    generator:
      runIn: docker
  • Restrict write access to TechDocs source repositories to trusted users only

References

  • https://backstage.io/docs/features/techdocs/configuration

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-02 14:36 UTC
Modified
2026-02-03 03:13 UTC

Affected packages and fixes

@backstage/plugin-techdocs-node

npm · All systems

Affected

  • introduced 1.14.0, fixed 1.14.1 (semver)

Fixed versions

1.14.1

Fix

@backstage/plugin-techdocs-node

npm · All systems

Affected

  • introduced 0, fixed 1.13.11 (semver)

Fixed versions

1.13.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences