Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as user with docs-source write access
-
DeliveryRegister/modify source with malicious mkdocs.yml
-
ExploitEmbed unsafe Python YAML tag bypassing sanitization
-
ExecutionTechDocs backend triggers MkDocs generation
-
PersistDeserialization executes arbitrary commands in build container
-
ImpactAccess TechDocs backend/build-container resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution 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 Backstage user who holds permission to register a new TechDocs documentation source or modify an existing one (i.e. write access to the catalog entity / docs repo that the TechDocs backend builds). The specific technical trigger is a crafted mkdocs.yml containing a Python YAML tag under the tag:yaml.org,2002:python/ namespace that is not in the allowed set (the fix permits only materialx.emoji.twemoji, materialx.emoji.to_svg, and pymdownx.slugs.slugify); any other such tag causes unsafe deserialization and command execution during generation. Exploitation is LIMITED to deployments running @backstage/plugin-techdocs-node prior to 1.14.6 that use local/'docker' or build-time TechDocs generation (not purely externally pre-built docs), and impact is confined to resources reachable by the TechDocs backend or its build container. High attack complexity (AC:H) and the authenticated, source-write privilege requirement are the main limiting factors. |
| Impact | This is a legitimate but conditional risk rather than a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C) and score of 7.7 (High) reflect a network-reachable but authenticated (PR:L) flaw with high attack complexity (AC:H) and a scope change (S:C) because code executes in the separate build container. No EPSS score was provided in the input; the CVE is NOT on the CISA KEV list, and no public exploit code is referenced - only the upstream fix commits. Exploitation status is therefore: no public exploit identified at time of analysis. The practical gating factor is PR:L: an attacker must already be an authenticated Backstage user permitted to register or modify documentation sources, which in most organizations means a semi-trusted internal developer, limiting this to an insider/privilege-escalation or supply-chain-of-docs scenario rather than opportunistic internet-wide exploitation. AC:H is well justified because the fix shows the attack requires crafting MkDocs YAML abusing specific Python YAML tags (e.g. !!python/object/apply:builtins.str) that survive sanitization. Signals are internally consistent - there is no network-vs-local contradiction - but note the reference release tags (v1.50.5, v1.54.6) do not match the fixed versions named in the description (1.14.6, 1.15.4), which should be reconciled against the vendor advisory before acting on version numbers. |
| Exploit ScenarioDerived | An authenticated Backstage user with permission to register a new catalog entity or edit an existing documentation source commits a malicious mkdocs.yml containing a Python YAML tag (such as !!python/object/apply:builtins.str) that the pre-patch sanitizer fails to reject. When the TechDocs backend generates the docs, MkDocs/PyYAML deserializes the tag and runs attacker-chosen commands inside the build container. No public exploit is published, but the fix's regression tests effectively document the payload structure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Command injection in Backstage's TechDocs build pipeline allows an authenticated user who can register or modify a documentation source to run arbitrary commands inside the TechDocs backend or its build container by supplying a crafted mkdocs.yml. Exploitation requires write access to a catalog entity or docs source that is processed by local or docker-based TechDocs generation, and the impact is confined to resources reachable by the backend or its build container; deployments that only publish externally pre-built documentation are not exposed. The issue is fixed in @backstage/plugin-techdocs-node 1.14.6 and 1.15.4, is rated CVSS 7.7 with high attack complexity, low privileges, and scope change, and there is no public exploit identified at time of analysis.
RemediationAI
Upgrade @backstage/plugin-techdocs-node to 1.14.6 or 1.15.4 (vendor-released patch); the corresponding Backstage framework releases are v1.50.5 and v1.54.6, so rebuilding against those release lines also resolves the issue. If upgrading immediately is not possible, treat TechDocs source registration and catalog entity editing as privileged operations and restrict write access to trusted owners, since exploitation requires the ability to place a malicious mkdocs.yml into a build-processed source; this reduces the attack surface but does not fix the underlying parser, as a trusted-but-compromised contributor still has the primitive. Additional compensating controls include adding a pre-build check that rejects any mkdocs.yml containing a tag:yaml.org,2002:python/ tag other than materialx.emoji.twemoji, materialx.emoji.to_svg, or pymdownx.slugs.slugify (the same allowlist the patch enforces), with the trade-off that legitimate custom Material/MkDocs plugins using other Python tags will fail to build until allowlisted explicitly. Running TechDocs generation in a locked-down container - non-root user, read-only mounts, no cloud metadata endpoint reachability, restricted egress, and seccomp/AppArmor profiles - limits blast radius but can break plugins that need network access during build, and should be treated as containment rather than remediation. Review the vendor advisory at https://github.com/backstage/backstage/security/advisories/GHSA-g2hj-v2j6-vfvg for the definitive fix guidance; no public exploit code has been identified at time of analysis, and the vendor commits above document the exact validation change that was applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a CWE-78 command injection that arises from unsafe YAML deserialization during TechDocs generation. TechDocs renders documentation by running MkDocs against a repository's mkdocs.yml; when a docs source is processed, the mkdocs.yml content is parsed and validated by @backstage/plugin-techdocs-node before being handed to the build. Prior to the fix, sanitization failed to block Python-specific YAML tags in the tag:yaml.org,2002:python/ namespace, so a configuration value such as site_name: !!python/name:builtins.str or !!python/object/apply:builtins.str would be resolved by the PyYAML loader into arbitrary Python objects rather than inert data, which is the classic route from deserialization to command execution inside the build process. The patch (commits 25125ee and b6d1aea) adds an allowlist that permits only three known-benign tags - materialx.emoji.twemoji, materialx.emoji.to_svg, and pymdownx.slugs.slugify - and throws 'Unsupported Python YAML tag' for scalar, mapping, or sequence values using any other python/ tag. The assessed vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L reflects network reachability of the authenticated Git/catalog write path, high attack complexity, low privileges (PR:L, consistent with an authenticated user rather than an anonymous attacker), a scope change because code runs in the separate build container, and a high confidentiality impact against low integrity and availability impacts. CPE data identifies both the Backstage framework (cpe:2.3:a:backstage:backstage) and the specific plugin (cpe:2.3:a:@backstage:plugin-techdocs-node) as affected.
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 docs-source writer (PR:L) sends payload over the network (AV:N); crafting a sanitizer-bypassing YAML tag is non-trivial (AC:H); code runs in a separate build container (S:C) with impact bounded to that environment (C:H/I:L/A:L).
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 configuration bypass in techdocs mkdocs.yml sanitization. Insufficient validation of MkDocs configuration during TechDocs generation could allow an authenticated user who can register or modify documentation sources to execute arbitrary commands in the build environment. Impact is limited to resources accessible to the TechDocs backend or build container. This issue is fixed in versions 1.14.6 and 1.15.4.
Technical POC Analysis
CWE-78 (OS Command Injection) with a contributing CWE-184 (Incomplete List of Disallowed Inputs).
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 command injection flaw in Backstage's TechDocs build pipeline allows an authenticated user with the ability to register or modify a documentation source to execute arbitrary commands inside the TechDocs backend or its build container by supplying a crafted mkdocs.yml. Only organizations running local or Docker-based TechDocs generation are exposed; teams that publish pre-built documentation externally are not affected. Because the build container typically holds source-repository, registry, and cloud credentials, a successful exploit could compromise internal developer platform infrastructure and the secrets it can reach, making this a priority for platform engineering and security leadership.
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.
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-94370
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB