Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate and register catalog entity
-
DeliverySupply mkdocs.yml with malicious markdown_extensions
-
ExploitTechDocs generator runs mkdocs build
-
ExecutionPython loads subprocess:Popen / os:system extension
-
ImpactExecute arbitrary OS commands on build host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Strict input allowlisting
|
| Exploitation Conditions | Requires an authenticated user holding the privilege to register/update catalog entities in Backstage, plus a TechDocs deployment that builds docs on a host using the mkdocs generator (local or docker build strategy). The concrete trigger is the markdown_extensions key in a TechDocs mkdocs.yml referencing a Python module/callable (e.g. 'subprocess:Popen' with args, 'os:system', or plantuml_markdown's plantuml_cmd), which mkdocs instantiates at build time. Limiting factors: authentication and entity-registration permission are needed (PR:L, not open to anonymous users); the mkdocs.yml must actually be processed by an on-host build - deployments that serve pre-built docs from external storage or isolate the build in a disposable/sandboxed CI runner reduce blast radius; and TechDocs must be using a generator that runs mkdocs rather than externally prepared docs. |
| Impact | This is a genuine high-priority issue rather than a CVSS-inflated one, but it is bounded by an authentication requirement. The CVSS:3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L, score 7.7) and the description agree: exploitation is network-reachable but requires an authenticated principal who holds the privilege to register catalog entities (PR:L), so this is not a pre-auth internet RCE. The outcome, however, is arbitrary OS command execution on the TechDocs build host - effectively full code execution in the build/CI tier - which the official vector arguably understates by rating I:L/A:L; a build-host compromise typically yields high integrity and availability impact as well. No EPSS score, KEV listing, or public exploit was provided in the input, so there is no signal of active or widespread exploitation; this should be treated as 'patch promptly' rather than 'emergency.' The AC:H rating reflects that the malicious mkdocs.yml must actually be processed by a local/docker mkdocs generator at build time, a real but common TechDocs configuration. Note two data conflicts flagged below: the fix versions in the description (1.14.6/1.15.4) do not match the referenced release tags (v1.50.5/v1.54.6), and the published impact metrics look conservative for an RCE. |
| Exploit ScenarioDerived | An attacker who already has a low-privileged authenticated account with permission to register catalog entities submits a TechDocs entity whose mkdocs.yml declares a crafted markdown_extensions entry (for example 'subprocess:Popen' with args ['/bin/sh','-c','id'], 'os:system', or a plantuml_markdown plantuml_cmd). When the TechDocs generator runs mkdocs build, the extension loader instantiates the referenced Python object and the attacker's OS command executes on the build host. No public exploit was identified at time of analysis, though the vendor's patch adds test fixtures that demonstrate the exact payload shapes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Remote code execution on TechDocs build hosts affects Backstage deployments running the @backstage/plugin-techdocs-node mkdocs generator prior to 1.14.6 (and 1.15.x prior to 1.15.4). An authenticated user holding the privilege to register or update catalog entities can commit a crafted mkdocs.yml whose markdown_extensions entries point at dangerous Python callables such as subprocess:Popen, os:system, or plantuml_markdown's plantuml_cmd, which mkdocs instantiates and executes while building the docs; the flaw requires authentication and an entity-registration permission rather than anonymous access, and deployments that publish pre-built docs or build in isolated disposable runners have a much smaller blast radius. The upstream fix, which extends MkDocs configuration sanitization to cover nested configuration keys, hyphenated extension names, and theme options, is available in vendor-released versions 1.14.6 and 1.15.4, and no public exploit code tied to this CVE was identified at time of analysis beyond the payload fixtures included in the upstream fix commit.
RemediationAI
Primary fix: upgrade @backstage/plugin-techdocs-node to 1.14.6 (or 1.15.4 for the 1.15 line), or move the whole Backstage platform to a release that contains it, such as v1.50.5 (https://github.com/backstage/backstage/releases/tag/v1.50.5) or v1.54.6 (https://github.com/backstage/backstage/releases/tag/v1.54.6); the vendor advisory (https://github.com/backstage/backstage/security/advisories/GHSA-4488-j8vj-vqqv) and the upstream sanitization commits (https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb and https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d) document the corrected MkDocs configuration scrubbing, which now strips dangerous nested markdown_extensions and theme options. If immediate patching is not possible, tighten the catalog entity registration permission so only trusted maintainers can publish TechDocs (trade-off: it removes self-service catalog/documentation contributions for regular developers), and run the TechDocs build in an isolated, disposable environment - a non-root container with a read-only filesystem, dropped Linux capabilities, no network egress, and no mounted host credentials (trade-off: plantuml rendering, remote image fetching, and any plugin requiring outbound network or caching will break, and build times rise). A third option is to switch to externally pre-built documentation served from storage so mkdocs never executes on the application host (trade-off: requires an external CI pipeline and disables in-app doc builds); since the sanitizer flaw is what enables the injection, publishing pre-built docs is a containment measure rather than a substitute for the patched plugin.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TechDocs is Backstage's documentation subsystem: the @backstage/plugin-techdocs-node plugin reads a per-entity mkdocs.yml, sanitizes it, and then invokes the Python MkDocs static site generator against the entity's markdown. MkDocs' markdown_extensions configuration is exceptionally powerful because it is not a passive data structure - entries are treated as Python module paths that MkDocs imports at build time, and any extra key/value pairs under an extension become constructor arguments. That allows a value such as 'subprocess:Popen': {args: ['/bin/sh','-c','id']} or plantuml_markdown's plantuml_cmd to reach an OS command invocation (shell or process spawn) on the host or container performing the build. The root-cause class is CWE-183 (Permissive List of Allowed Inputs): the prior sanitizer relied on incomplete matching that could be bypassed with nested keys, multi-key extension maps, hyphenated/underscored extension aliases (plantuml-markdown vs plantuml_markdown), and theme-level options such as custom_dir, rather than validating and allowlisting the accepted configuration surface. The upstream patch adds test fixtures (mkdocs_with_dangerous_extensions.yml, mkdocs_with_plantuml_cmd.yml, mkdocs_with_theme_custom_dir.yml, etc.), confirming that the dangerous inputs are exactly these nested extension and theme constructs, and the assessed vector reflects scope change because the executed code runs on the build host/deployment rather than only within the Backstage application context.
Know when Backstage gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
Authenticated entity registration gives PR:L over the network (AV:N); loading the extension reliably runs the command (AC:L), yielding full build-host RCE (C/I/A:H) beyond the plugin's scope (S:C).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by remote code execution via crafted markdown_extensions in techdocs mkdocs.yml. An authenticated user who can register catalog entities can provide a crafted mkdocs.yml causing arbitrary OS command execution on the TechDocs build host when the docs are built. This issue is fixed in versions 1.14.6 and 1.15.4.
Technical POC Analysis
CWE-183 (permissive allowlist), with CWE-470 (unsafe reflection) also assigned by the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity remote code execution flaw in Backstage's @backstage/plugin-techdocs-node mkdocs generator (prior to 1.14.6 and 1.15.x prior to 1.15.4) lets a user with catalog entity-registration privileges run arbitrary code on the hosts that build TechDocs. Because those build hosts typically carry service credentials and reach internal source and deployment systems, a single malicious catalog entity could convert a documentation pipeline into a foothold inside internal infrastructure. Leadership should care because the affected users are internal developers with routine permissions, and the impact extends well beyond documentation to any secret, token, or network path the build host can reach.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Catalog ingestion policy bypass in @backstage/plugin-catalog-backend lets an authenticated user holding the catalog.loca
The Bitbucket pull-request Scaffolder actions in Backstage can be abused by an authenticated user with template-executio
Backstage is an open platform for building developer portals. Rated critical severity (CVSS 9.9), this vulnerability is
Authenticated Backstage users can retrieve the internal execution data of other users' Scaffolder tasks - notably the Se
Arbitrary Python code execution in Backstage's @backstage/plugin-techdocs-node (versions < 1.13.11 and = 1.14.0) lets a
Authenticated users who can register or modify a TechDocs documentation source can achieve code execution inside the Bac
Authenticated remote code execution in the @backstage/plugin-techdocs-node package shipped with the Backstage developer
Arbitrary code execution in Backstage TechDocs documentation builds allows an authenticated user with write access to a
Improper task-state validation in the @backstage/plugin-scaffolder-backend plugin (Backstage versions prior to 3.3.1, 3.
Arbitrary code execution on the TechDocs backend host is achievable through a sanitizer bypass in the @backstage/plugin-
Improper input validation in the @backstage/plugin-scaffolder-backend-module-sentry scaffolder actions (Backstage 0.3.0
@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. Rated high severity (C
EUVD-2026-94369
GHSA-4488-j8vj-vqqv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB