Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as TechDocs contributor
-
DeliveryRegister/modify TechDocs source with malicious mkdocs.yml
-
ExploitTrigger documentation build
-
Executionmkdocs generator executes injected config
-
PersistCode execution in TechDocs backend/build container
-
ImpactExfiltrate credentials and pivot via container network access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Requires an authenticated user with permission to register or modify a TechDocs documentation source in Backstage, and the TechDocs feature must be deployed with local/native mkdocs generation (the generator must process attacker-supplied mkdocs.yml in the backend or build container). Exploitation is achieved by embedding unsafe Python YAML tags, malicious markdown_extensions names/configuration (e.g., pymdownx.snippets), theme options, or extra_templates values in mkdocs.yml. Limiting factors: PR:L authentication is mandatory (no anonymous exploitation), only affects versions prior to 1.14.6 and 1.15.0-1.15.3, and impact is confined to the resources reachable by the TechDocs backend/build container (scope unchanged) rather than the wider Backstage host. |
| Impact | This is a genuine, well-calibrated priority for organizations running Backstage TechDocs, though its blast radius is bounded. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8 High) accurately reflects a network-reachable, low-complexity, authenticated-user code-execution flaw with full C/I/A impact scoped to the TechDocs backend or build container. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active exploitation - the score reflects intrinsic severity, not observed attacks. The PR:L requirement is a meaningful limiter: the attacker must already be an authenticated user permitted to register or modify a TechDocs source (i.e., an internal developer/contributor), so this is primarily an insider or compromised-credential / supply-chain-into-the-build-pipeline risk rather than an anonymous internet threat. The vendor explicitly bounds impact to 'files, credentials, network access, and other resources available to the TechDocs backend or build container,' which the S:U (unchanged scope) rating is consistent with. One data caveat: the reference release tags v1.50.5 and v1.54.6 do not match the advisory's stated fix versions 1.14.6 and 1.15.4 - treat 1.14.6 / 1.15.4 (per GHSA-292q-8mf5-h6g3) as the authoritative fixed versions and verify against the vendor advisory. |
| Exploit ScenarioDerived | An authenticated developer (or an attacker who has obtained such credentials) registers or modifies a TechDocs source in Backstage and supplies a crafted mkdocs.yml containing unsafe Python YAML tags, malicious markdown_extensions configuration (e.g., pymdownx.snippets), theme options, or extra_templates values. When the TechDocs backend or CI build container runs mkdocs to generate the documentation, the malicious configuration reaches the generator and executes arbitrary code, exposing the build environment's files, credentials, and network access. No public exploit code was identified at time of analysis, but the fix commits and test cases publicly describe the exact vulnerable inputs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Authenticated users who can register or modify a TechDocs documentation source can achieve code execution inside the Backstage TechDocs backend or its build container by supplying a crafted mkdocs.yml, because @backstage/plugin-techdocs-node fails to strip unsafe Python YAML tags, markdown_extensions names and their configuration, theme options, and extra_templates values before the file reaches the Python documentation generator. The flaw affects the techdocs-node plugin before 1.14.6 and the 1.15.0 through 1.15.3 range, and the vendor has released fixes in 1.14.6 and 1.15.4. Authentication is mandatory per the CVSS vector (PR:L), no public exploit code or confirmed active exploitation was identified at time of analysis, and the blast radius is limited to the files, credentials, and network reach of the TechDocs backend or build container rather than the wider Backstage host.
RemediationAI
Vendor-released patch: upgrade @backstage/plugin-techdocs-node to 1.14.6 or 1.15.4 (or later); the advisory GHSA-292q-8mf5-h6g3 and the linked commits 017ace52d9b327ededc6704cf17799c875ae0f29, 02cd7cdbb18b687446277b5602adaee7f1d53cbb, 25125ee727a3de3418a8fa6a9e458cd5b73ecf26, a7d995f11a5d27f0efbdbe8bb6c21b06988c79c9, and a900a9953c8f7ad3ba1906d1d257725a9996cc9d document the sanitizer changes, and Backstage release tags v1.50.5 and v1.54.6 are referenced for the corresponding platform builds. Where immediate upgrade is not possible, treat the TechDocs build boundary as untrusted: restrict TechDocs source-registration and modification permissions to a small trusted group (removes the PR:L prerequisite entirely, at the cost of developer self-service), and run TechDocs generation in a locked-down container with no egress network, no cloud/instance credentials, a read-only root filesystem, and only the docs workspace mounted - this contains the post-exploitation impact but does not prevent the initial code execution. If pymdownx.snippets is not required, remove it from the TechDocs MkDocs allow-list or template so the extension configuration path is never reachable, accepting loss of snippet-inclusion formatting in rendered docs. Environments that can switch to externally executed documentation builds (for example CI-based TechDocs generation) remove the attack surface from the Backstage backend, though build-pipeline hardening then becomes the operator's responsibility; note that no public exploit code was identified at time of analysis, which does not reduce the urgency of patching given the high confidentiality, integrity, and availability impact within the affected build context.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Backstage's TechDocs plugin renders documentation by invoking MkDocs, a Python static-site generator configured through mkdocs.yml. In the affected versions, the sanitizeMkdocsYml routine in plugins/techdocs-node/src/stages/generate/mkdocsPatchers.ts performed an incomplete validation pass: it attempted to strip dangerous extension entries but missed several paths. Unsafe Python YAML tags (for example !!python/object/apply) can be deserialized when the YAML is loaded with an unsafe loader, yielding arbitrary code execution; markdown_extensions entries can name arbitrary Python modules or classes that MkDocs imports; the pymdownx.snippets extension accepts base_path, restrict_base_path, and url_download options that allow reading files outside the docs tree or fetching remote content; theme options and extra_templates can cause attacker-controlled templates to be written and processed during the build. The root cause class is CWE-20 improper input validation - the sanitizer's allow/deny logic did not cover the full set of dangerous keys and extension aliases. The upstream fix adds an explicit isPymdownxSnippetsExtension() check covering both 'pymdownx.snippets' and 'pymdownx.snippets:SnippetExtension', strips configuration from those extensions, and removes unsupported snippet extension classes entirely, as evidenced by the accompanying unit tests. Because the mkdocs.yml is processed by a Python toolchain spawned from the Node backend (or a build container), any code execution lands in the TechDocs generation context, which is why the CPE entry cpe:2.3:a:backstage:backstage:*:*:*:*:*:*:*:* covers the platform and why the tags include RCE and Python.
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
Network-reachable authenticated TechDocs contributor (PR:L) supplies malicious config with no user interaction; code execution in the build container yields full C/I/A with scope unchanged.
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 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.
Technical POC Analysis
Bug class: improper input validation (CWE-20), with the advisory also assigning CWE-1336 (special elements used in a template engine).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Backstage's TechDocs documentation pipeline can be abused by any user already trusted to register or edit a documentation source, letting them run arbitrary code inside the TechDocs build container and its backend. Because those build environments routinely hold source-control tokens, cloud credentials, and outbound network access, a single malicious documentation configuration could pivot into code repositories and connected systems. Leadership should care because the exposure is internal rather than internet-facing, yet it turns a routine documentation privilege into a credible path to credential theft and lateral movement if left unmitigated.
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
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 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
Authenticated users of Backstage Scaffolder can bypass administrator-configured action restrictions in @backstage/plugin
EUVD-2026-80784
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB