Skip to main content

Backstage TechDocs CVE-2026-106556

| EUVDEUVD-2026-94370 HIGH
OS Command Injection (CWE-78)
2026-10-07 GitHub_M
7.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as user with docs-source write access
  2. Delivery
    Register/modify source with malicious mkdocs.yml
  3. Exploit
    Embed unsafe Python YAML tag bypassing sanitization
  4. Execution
    TechDocs backend triggers MkDocs generation
  5. Persist
    Deserialization executes arbitrary commands in build container
  6. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

backstage < 1.50.5
plugin-techdocs-node 1.15.0, < 1.15.4
backstage 1.51.0-next.0, < 1.54.6
plugin-techdocs-node < 1.14.6

Affected Packages

euvd backstage fix: 1.50.5
euvd backstage_1_51_0_next_0 fix: 1.54.6
euvd plugin_techdocs_node fix: 1.14.6, 1.15.4

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

Vendor (GitHub_M) PRIMARY 7.7 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
vuln.today AI 7.7 HIGH

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).

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:L/SI:L/SA:L
Red Hat 7.7 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Oct 07, 2026 - 16:02 EUVD
CVE Published
Oct 07, 2026 - 14:39 cve.org
HIGH 7.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
Backstage is a popular CNCF developer portal, but TechDocs is an optional plugin
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-115923 MEDIUM POC
6.5 Oct 26

Catalog ingestion policy bypass in @backstage/plugin-catalog-backend lets an authenticated user holding the catalog.loca

CVE-2026-106486 CRITICAL
9.9 Oct 06

The Bitbucket pull-request Scaffolder actions in Backstage can be abused by an authenticated user with template-executio

CVE-2023-35926 CRITICAL
9.9 Jun 22

Backstage is an open platform for building developer portals. Rated critical severity (CVSS 9.9), this vulnerability is

CVE-2026-106501 CRITICAL
9.6 Oct 06

Authenticated Backstage users can retrieve the internal execution data of other users' Scaffolder tasks - notably the Se

CVE-2026-25153 CRITICAL
9.1 Jan 30

Arbitrary Python code execution in Backstage's @backstage/plugin-techdocs-node (versions < 1.13.11 and = 1.14.0) lets a

CVE-2026-88064 HIGH
8.8 Sep 16

Authenticated users who can register or modify a TechDocs documentation source can achieve code execution inside the Bac

CVE-2026-106558 HIGH
8.8 Oct 07

Authenticated remote code execution in the @backstage/plugin-techdocs-node package shipped with the Backstage developer

CVE-2026-106509 HIGH
8.8 Oct 06

Arbitrary code execution in Backstage TechDocs documentation builds allows an authenticated user with write access to a

CVE-2026-106500 HIGH
8.5 Oct 06

Improper task-state validation in the @backstage/plugin-scaffolder-backend plugin (Backstage versions prior to 3.3.1, 3.

CVE-2026-106505 HIGH
8.5 Oct 06

Arbitrary code execution on the TechDocs backend host is achievable through a sanitizer bypass in the @backstage/plugin-

CVE-2026-106459 HIGH
8.5 Oct 06

Improper input validation in the @backstage/plugin-scaffolder-backend-module-sentry scaffolder actions (Backstage 0.3.0

CVE-2021-43783 HIGH
8.5 Nov 29

@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. Rated high severity (C

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy