CVE-2026-25153CWE-94

@backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks

High · published January 30, 2026

CVSS v3.1
7.7
EPSS
1%
Percentile
48.8
In the wild
Unconfirmed
What it is

🚨 A crafty edit to a simple file can unleash arbitrary Python code on your TechDocs build server! 🔥 Think of it like a restaurant's recipe book where any cook can sneak in a new recipe that includes toxic ingredients. If the management doesn’t screen these changes, anyone who gets access could end up poisoning the entire kitchen! In this case, a malicious contributor can exploit the `mkdocs.yml` file to execute unauthorized Python code, potentially leading to data breaches or even taking over the whole server. This could disrupt operations and compromise sensitive information on your TechDocs platform. It's a high-stakes game!

Put simply

Think of it like a restaurant's recipe book where any cook can sneak in a new recipe that includes toxic ingredients. If the management doesn’t screen these changes, anyone who gets access could end up poisoning the entire kitchen! The vulnerability in @backstage/plugin-techdocs-node allows an attacker to run arbitrary Python code through improperly secured MkDocs hooks in the `mkdocs.yml` file when configured with `runIn: local`. The versions prior to 1.13.11 and 1.14.1 are particularly at risk, as they lack the allowlist controls for MkDocs configuration keys.

What to do

In this case, a malicious contributor can exploit the `mkdocs.yml` file to execute unauthorized Python code, potentially leading to data breaches or even taking over the whole server. This could disrupt operations and compromise sensitive information on your TechDocs platform. It's a high-stakes game! Upgrade @backstage/plugin-techdocs-node to version 1.13.11 or 1.14.1 immediately to fix this issue. Limit access to `mkdocs.yml` modifications to trusted contributors only and implement pull request reviews for any changes. Alternatively, consider using `runIn: docker` for better isolation, albeit it may not eliminate all risks. You’ve got this! Follow these steps, and you’ll turn this potential threat into a mere hiccup in your security journey! 🛡️

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00615 · 48.8th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-01-30T21:31Z
EPSS history
Timeline
  • 30 JAN 21:31Z
    @backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks
    cvelistv5