CVE-2026-29186: @backstage/plugin-techdocs-node Arbitrary Code Execution Vulnerability

Summary

05/03/2026
Yes i
High
7.7

CVE-2026-29186: TechDocs Mkdocs Configuration Key Enables Arbitrary Code Execution. Affects @backstage/plugin-techdocs-node versions < 1.14.3. Fixed in 1.14.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The @backstage/plugin-techdocs-node package is a component of the Backstage framework that facilitates the creation and management of documentation using MkDocs. It allows users to build and serve documentation sites efficiently. However, due to a configuration bypass vulnerability, it is susceptible to arbitrary code execution, which can compromise the security of applications using this package.

Vulnerability Detail

This vulnerability arises from a flaw in the allowlist mechanism that filters dangerous MkDocs configuration keys during the documentation build process. Attackers can exploit this gap by crafting a malicious mkdocs.yml file that executes arbitrary Python code, thereby bypassing the security controls implemented by TechDocs. The implications of this vulnerability are severe, as it can lead to unauthorized code execution within the application environment.

How To Fix

Latest published version: 2.1.0 as of 23 Oct 2026

npm install @backstage/plugin-techdocs-node@2.1.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.14.3

This is the first release that contains the fix.

npm install @backstage/plugin-techdocs-node@1.14.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider the following workarounds: 1. Use Docker mode with restricted access by configuring TechDocs with 'runIn: docker' instead of 'runIn: local' for container isolation. 2. Restrict repository access to limit modifications to mkdocs.yml files, allowing only trusted contributors. 3. Implement PR review requirements for changes to mkdocs.yml files to detect malicious configurations. 4. Downgrade MkDocs to a version below 1.4.0 (e.g., 1.3.1) which does not support hooks, although this may limit access to newer features.

Conclusion

The CVE-2026-29186 vulnerability in the @backstage/plugin-techdocs-node package poses a significant risk due to its ability to enable arbitrary code execution. It is crucial for users to update to the patched version or implement the recommended workarounds to mitigate the risk. Regular monitoring for vulnerabilities, such as through Vulert, can help maintain application security.

See every vulnerability recorded for @backstage/plugin-techdocs-node →

Share this vulnerability

FAQ

CVE-2026-29186 is a vulnerability in the @backstage/plugin-techdocs-node package that allows for arbitrary code execution due to a configuration bypass.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The CVSS score of this vulnerability is 7.7, indicating a high severity level.

If you cannot upgrade immediately, consider implementing the suggested workarounds to mitigate the risk until you can apply the patch.

The potential impacts include unauthorized execution of arbitrary code, which can compromise the security of the application and lead to data breaches or system compromise.

Related vulnerabilities

Recent vulnerabilities recorded for @backstage/plugin-techdocs-node.

How To Fix

Latest published version: 2.1.0 as of 23 Oct 2026

npm install @backstage/plugin-techdocs-node@2.1.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.14.3

This is the first release that contains the fix.

npm install @backstage/plugin-techdocs-node@1.14.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback