Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Backstage with contributor access
-
DeliveryRegister or influence SCM-backed TechDocs source
-
ExploitCommit malicious mapping-style markdown_extensions in mkdocs.yml
-
ExecutionTrigger docs generation to bypass sanitization
-
PersistPython object imported and instantiated
-
ImpactArbitrary code execution in generator runtime
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated attacker (PR:L) who can register or influence an SCM-backed TechDocs documentation source and commit a crafted mkdocs.yml containing a mapping-style markdown_extensions entry that references Python callables (e.g. subprocess:Popen, os:system, or plantuml_markdown with plantuml_cmd). Exploitation fires when the TechDocs backend runs documentation generation and processes the unsanitized mapping, importing and instantiating the referenced Python objects. Impact is greatest when generation executes with backend credentials, filesystem access, or internal network reachability. Limiting factors: the attacker must have a valid account with the ability to add or edit a docs-source repository (not anonymous), the instance must perform server-side TechDocs generation of attacker-influenced sources, and instances already upgraded past the incomplete 1.14.6/1.15.4 fixes to the full fix are not affected. |
| Impact | This is a genuine high-priority issue rather than a CVSS-inflated one, but its exploitability is gated by a real precondition. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) indicates a network-reachable, low-complexity attack requiring only low privileges and no user interaction, with full compromise of confidentiality, integrity, and availability - consistent with CWE-502 deserialization leading to arbitrary code execution. PR:L (not PR:N) correctly reflects that the attacker must be an authenticated user able to register or influence an SCM-backed documentation source, so this is not an anonymous internet-wide exploit; it is most relevant to multi-tenant or broadly-contributable Backstage instances where many developers can add catalog entities or docs repos. No EPSS score, CISA KEV entry, or public POC was provided, so exploitation is 'no public exploit identified at time of analysis'; the available source-code evidence is the vendor's sanitization patch and its tests, not weaponized exploit code. Notably this is an incomplete-fix follow-up: the description states earlier fixes in 1.14.6/1.15.4 did not fully address the mapping representation of markdown_extensions, which raises the likelihood that researchers are already probing this code path. One data conflict to verify: the description lists fixed versions as 1.14.8, 1.15.6, and 2.0.1, but the reference release tags are v1.50.7, v1.54.9, and v1.55.2 - confirm the exact remediated release line against the GHSA advisory before acting. |
| Exploit ScenarioDerived | An authenticated developer on a shared Backstage instance registers (or contributes to) an SCM repository used as a TechDocs documentation source and commits a crafted mkdocs.yml whose mapping-style markdown_extensions references Python callables such as subprocess:Popen or os:system. When the TechDocs backend generates the docs, the bypassed sanitization causes those Python objects to be imported and instantiated in the generator runtime, executing attacker-controlled commands. No separate public exploit is published, but the vendor's patch and tests clearly document the vulnerable input shape. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Authenticated remote code execution in the @backstage/plugin-techdocs-node package shipped with the Backstage developer portal framework allows a user who can register or influence an SCM-backed documentation source to execute arbitrary code on the TechDocs backend host. The flaw (CWE-502, CVSS 8.8, vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) arises because mapping-style markdown_extensions entries in a committed mkdocs.yml were not sanitized, letting an attacker name Python callables such as subprocess:Popen or os:system that MkDocs then imports and instantiates during documentation generation. Exploitation requires a valid account and an instance that performs server-side TechDocs generation of attacker-controlled sources, so risk is highest where generation runs with backend credentials, filesystem access, or internal network reachability; no public exploit code has been identified at time of analysis and there is no confirmed active exploitation (CISA KEV).
RemediationAI
Vendor-released patch: upgrade @backstage/plugin-techdocs-node to 1.14.8, 1.15.6, or 2.0.1 depending on your release line, or move to a Backstage release carrying the fix (release tags v1.50.7, v1.54.9 and v1.55.2 are referenced in the advisory). Confirm that instances previously upgraded to 1.14.6 or 1.15.4 are re-upgraded, since those versions only partially addressed the sanitizer and still allow the mapping-style markdown_extensions bypass. Where an immediate upgrade is not possible, apply compensating controls with awareness of their trade-offs: run the TechDocs generator in a hardened container or sandbox without backend credentials, mounted secrets, or internal network reachability, which contains code execution impact but can break integrations that legitimately need those resources; restrict who may register or commit to SCM-backed TechDocs sources so that only trusted maintainers can influence mkdocs.yml, accepting reduced self-service for documentation; and review or pre-screen committed mkdocs.yml files for markdown_extensions entries containing Python dotted paths such as subprocess:Popen, os:system, or plantuml_cmd parameters, since this is a detective rather than preventive control. Blocks/allow-listing the generator process at the network and filesystem layer, and disabling server-side TechDocs generation of untrusted repositories entirely, removes exposure at the cost of losing automated documentation builds. Full details and the authoritative fix guidance are in the vendor advisory at https://github.com/backstage/backstage/security/advisories/GHSA-qmw3-745m-w99g.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 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
Backstage is an open framework for building developer portals, and its TechDocs subsystem renders documentation by invoking MkDocs, a Python static-site generator, against a repository that supplies an mkdocs.yml configuration file. MkDocs configuration loading is itself a code-loading mechanism: entries under markdown_extensions cause Python modules or objects to be imported and instantiated, and the YAML also supports constructs such as the !ENV tag. This maps to CWE-502 (Deserialization of Untrusted Data) because attacker-influenced YAML is converted into live Python objects rather than inert configuration. The @backstage/plugin-techdocs-node sanitizer (sanitizeMkdocsYml in mkdocsPatchers.ts) previously handled only the list-style representation of markdown_extensions; mapping-style declarations were passed through unvalidated, so keys such as "subprocess:Popen" with an args list, "os:system" with a command, or "plantuml_markdown" with a plantuml_cmd value could reach the generator runtime. The fixed code normalizes mapping-style extensions into the list form, discards YAML values carrying the UnknownTag marker (dynamic !ENV-driven extensions), and warns when dangerous keys such as plantuml_cmd or pymdownx.snippets configuration are stripped, as shown by the added unit tests and the upstream commits 32723a0fe4e12ed80535fc65d5331765c55aa91b, 944edb51c8524d3664b18f2d57ba101b1c93b709 and f18e9abcc6051491862b15e4fc60e69f8d52310c. The affected code is identified by the CPEs cpe:2.3:a:backstage:backstage and cpe:2.3:a:@backstage:plugin-techdocs-node. Note that the earlier hardening shipped in 1.14.6 and 1.15.4 was incomplete and did not cover the supported mapping representation.
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:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Authenticated contributor supplying a docs source gives PR:L with no user interaction; unsanitized mapping reliably yields code execution, so AC:L and full C/I/A impact.
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.8, 1.15.6, and 2.0.1, the @backstage/plugin-techdocs-node package improperly validated mapping-style markdown_extensions configuration. An authenticated attacker who can register or influence an SCM-backed documentation source may bypass TechDocs sanitization and cause Python objects to be imported and instantiated in the generator runtime, leading to arbitrary code execution. Earlier fixes in versions 1.14.6 and 1.15.4 did not fully address the supported mapping representation of markdown_extensions. Impact is greatest when documentation generation runs with backend credentials, filesystem access, or internal network access. This issue is fixed in versions 1.14.8, 1.15.6, and 2.0.1.
Articles & Coverage 1
Technical POC Analysis
CWE-502, Deserialization of Untrusted Data.
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 authenticated remote code execution vulnerability affects the @backstage/plugin-techdocs-node package used in Backstage developer portals. An attacker with a valid account and the ability to influence SCM-backed documentation sources could execute code on the TechDocs backend host, potentially exposing credentials, internal systems, and the documentation supply chain. Leadership should prioritize this because it can turn documentation generation into a foothold in the development environment, even though no public exploit identified at time of analysis and no vendor-released patch identified at time of analysis.
Restrict who can register or influence SCM-backed documentation sources; disable server-side TechDocs generation for untrusted sources or run it in an isolated least-privilege container without backend credentials, filesystem access, or internal network reachability; allowlist and sanitize mkdocs.yml markdown_extensions, rejecting mapping entries that name Python callables; monitor and audit TechDocs generation logs for unexpected imports or process execution.
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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
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
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
Authenticated users of Backstage Scaffolder can bypass administrator-configured action restrictions in @backstage/plugin
EUVD-2026-94371
GHSA-qmw3-745m-w99g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB