@backstage/plugin-techdocs-node: Backstage: Improper validation of MkDocs plugin configuration in TechDocs
What fixes it
- 1.14.7@backstage/plugin-techdocs-node, npmGitHub
npm install @backstage/plugin-techdocs-node@1.14.7 - 1.15.5@backstage/plugin-techdocs-node, npmGitHub
npm install @backstage/plugin-techdocs-node@1.15.5
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Impact
An authenticated attacker with control over a TechDocs source repository could cause a documentation build to retrieve and publish data from network locations reachable by the build environment. Exposure depends on deployment topology, build mode, and target endpoint protections. Modern cloud metadata services that require tokens or special headers are not directly accessible through the affected behavior.
Patches
Upgrade @backstage/plugin-techdocs-node to a patched version for the applicable release line:
1.14.x: upgrade to1.14.7or later in that line, available in Backstage v1.50.6.1.15.x: upgrade to1.15.5or later, available in Backstage v1.54.8.- Current mainline: upgrade to
2.0.0or later, available in Backstage v1.55.0.
The update removes MkDocs plugins outside the built-in allowlist. To retain additional plugins, review them and configure techdocs.generator.mkdocs.dangerouslyAllowAdditionalPlugins, or supply dangerouslyAllowAdditionalPlugins when creating the generator directly. Plugins supplied through defaultPlugins remain permitted.
Workarounds
- Restrict control of TechDocs source repositories and catalog registration to trusted maintainers.
- Run documentation builders with outbound access to private and link-local networks denied.
- Require token- or header-protected cloud instance metadata services.
Text from GitHub Advisory Database
Affected versions 8
- @backstage/plugin-techdocs-node, npm>= 0.11.12, < 1.14.7GitHub
- @backstage/plugin-techdocs-node, npm>= 1.15.0, < 1.15.5GitHub
- backstageaffected: >= 0.71.1, < 1.50.6CVE List
- backstageaffected: >= 1.51.0-next.0, < 1.54.8CVE List
- plugin-techdocs-nodeaffected: >= 0.11.12, < 1.14.7CVE List
- plugin-techdocs-nodeaffected: >= 1.15.0, < 1.15.5CVE List
- @backstage/plugin-techdocs-node, npmfrom 0.11.12, fixed in 1.14.7OSV
- @backstage/plugin-techdocs-node, npmfrom 1.15.0, fixed in 1.15.5OSV
References 8
- github.com/backstage/backstage/commit/28aa82ae2815988721dd7bbf43cd69c431dcd71bFixvia CVE List
- github.com/backstage/backstage/commit/9f76ea445088961f68c364764cc4b7734f368fc0Fixvia CVE List
- github.com/backstage/backstage/releases/tag/v1.50.6Fixvia CVE List
- github.com/backstage/backstage/releases/tag/v1.54.8Fixvia CVE List
- github.com/backstage/backstage/releases/tag/v1.55.0Fixvia CVE List
- github.com/backstage/backstage/security/advisories/GHSA-q38j-6vcm-2f5mAdvisoryvia CVE List
- github.com/advisories/GHSA-q38j-6vcm-2f5mAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-106455Referencevia GitHub