ZeroHour

CVE-2026-88064

large

Authenticated RCE in Backstage TechDocs via malicious mkdocs.yml

CVSS 3.1
8.8 high
EPSS
Published
()
Modified
AI analysis

Backstage's @backstage/plugin-techdocs-node package, which powers TechDocs documentation generation, insufficiently validates the mkdocs.yml file supplied by an authenticated user who can register or modify a TechDocs source. Unsafe Python YAML tags, markdown_extensions names and configuration, theme options, and extra_templates values are passed through to the MkDocs documentation generator, causing unintended code execution during the build. An attacker gains code execution in the context of the TechDocs backend or build container, limited to the files, credentials, network access, and other resources available to that process. Any Backstage deployment running a vulnerable version of the plugin with TechDocs enabled is affected wherever non-fully-trusted users can contribute documentation sources. No public proof-of-concept, KEV listing, or known in-the-wild exploitation has been reported; fixes are available in versions 1.14.6 and 1.15.4.

What to do: Upgrade @backstage/plugin-techdocs-node to 1.14.6 (1.14.x line) or 1.15.4 or later. Until patched, restrict which authenticated users can register or modify TechDocs-enabled catalog entries, and reduce the TechDocs backend/build container's access to files, credentials, and network resources. Audit recently added or modified mkdocs.yml files for unsafe Python YAML tags, unusual markdown_extensions, theme options, or extra_templates values.

Affected
Backstage @backstage/plugin-techdocs-node (TechDocs)All versions prior to 1.14.6; versions 1.15.0 up to (but not including) 1.15.4
Estimated exposure
large≈10,000–100,000 self-hosted Backstage instances (TechDocs ships in the default create-app and Backstage reports adoption by thousands of organizations) — Backstage is self-hosted, so no public internet-exposure scans apply; the estimate uses the project's reported adoption by thousands of organizations and the fact that techdocs-node is bundled in the standard Backstage create-app, with…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Backstage is an open framework for building developer portals. Prior to 1.14.6 and from 1.15.0 until 1.15.4, the @backstage/plugin-techdocs-node package insufficiently validates mkdocs.yml supplied by an authenticated user who can register or modify a TechDocs source. Unsafe Python YAML tags, markdown_extensions names and configuration, theme options, and extra_templates values can reach the documentation generator and cause unintended code execution. The resulting impact is limited to the files, credentials, network access, and other resources available to the TechDocs backend or build container. This issue is fixed in versions 1.14.6 and 1.15.4.

Weakness
CWE-20, CWE-1336
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.