Skip to main content

Backstage TechDocs CVE-2026-29186

CRITICAL
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-03-07 security-advisories@github.com GHSA-928r-fm4v-mvrw
9.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
8.8 HIGH

Attacker must supply build input (mkdocs.yml) to a processed repo, implying at least low-privilege contributor access, so PR:L rather than PR:N; once supplied, code execution is reliable with full host impact.

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

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

11
Analysis Updated
Jun 30, 2026 - 04:00 vuln.today
v5 (cvss_changed)
Analysis Updated
Jun 30, 2026 - 04:00 vuln.today
v4 (cvss_changed)
Analysis Updated
Jun 30, 2026 - 03:59 vuln.today
v3 (cvss_changed)
Source Code Evidence Fetched
Jun 30, 2026 - 03:58 vuln.today
Analysis Updated
Jun 30, 2026 - 03:58 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 30, 2026 - 03:24 vuln.today
cvss_changed
Severity Changed
Jun 30, 2026 - 03:24 NVD
HIGH CRITICAL
CVSS changed
Jun 30, 2026 - 03:24 NVD
7.7 (HIGH) 9.8 (CRITICAL)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
Analysis Generated
Mar 12, 2026 - 21:55 vuln.today
CVE Published
Mar 07, 2026 - 15:15 nvd
HIGH 7.7

DescriptionNVD

Backstage is an open framework for building developer portals. Prior to version 1.14.3, this is a configuration bypass vulnerability that enables arbitrary code execution. The @backstage/plugin-techdocs-node package uses an allowlist to filter dangerous MkDocs configuration keys during the documentation build process. A gap in this allowlist allows attackers to craft an mkdocs.yml that causes arbitrary Python code execution, completely bypassing TechDocs' security controls. This issue has been patched in version 1.14.3.

AnalysisAI

Arbitrary code execution in Backstage's @backstage/plugin-techdocs-node (versions <= 1.14.2) allows attackers who can influence an mkdocs.yml file to run arbitrary Python during the documentation build, bypassing TechDocs' allowlist-based configuration filtering. The flaw stems from MkDocs configuration keys (notably the hooks feature) that the security allowlist failed to block, meaning any contributor able to merge or supply a crafted mkdocs.yml gains code execution on the build host. No public exploit identified at time of analysis, and EPSS is low (0.07%), but the CVSS 9.8 rating and trivial exploitation primitive make this a high-priority patch for self-hosted developer portals.

Technical ContextAI

Backstage TechDocs builds technical documentation from Markdown using MkDocs, a Python static-site generator. To prevent untrusted repository content from compromising the build environment, @backstage/plugin-techdocs-node sanitizes the user-supplied mkdocs.yml against an allowlist of permitted configuration keys. MkDocs 1.4.0 (released 2022-09-27) introduced the 'hooks' key, which loads and executes arbitrary local Python modules at build time; a gap in the allowlist let this and/or other dangerous keys through, so attacker-controlled YAML translates directly into Python code execution. This is an instance of CWE-74 (Improper Neutralization of Special Elements / Injection): untrusted input flows into an interpreter-controlling configuration without adequate filtering. The affected component is identified as cpe:2.3:a:linuxfoundation:backstage_plugin-techdocs-node, and the same code path is reachable via @techdocs/cli in CI/CD because it depends on the same package.

RemediationAI

Vendor-released patch: upgrade @backstage/plugin-techdocs-node to version 1.14.3 or later (and rebuild any @techdocs/cli-based pipelines so they pull the fixed package), per the Backstage advisory at https://github.com/backstage/backstage/security/advisories/GHSA-928r-fm4v-mvrw; Red Hat consumers should apply RHSA-2026:9742 / RHSA-2026:13826. If you cannot upgrade immediately, the vendor recommends layered workarounds, each with trade-offs: set TechDocs to runIn: docker instead of runIn: local for container isolation (reduces but does not eliminate the risk, since the malicious code still runs inside the container); restrict who can modify mkdocs.yml in TechDocs-processed repositories to trusted contributors only; enforce mandatory PR review on mkdocs.yml changes to catch malicious hooks before merge; or pin MkDocs to a version below 1.4.0 (e.g., 1.3.1) which lacks the hooks feature, at the cost of losing newer MkDocs functionality. Note that building docs in CI/CD with @techdocs/cli does NOT mitigate the issue because it uses the same vulnerable package.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2026-55255 HIGH POC
8.4 Jun 19

Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing

Vendor StatusVendor

Share

CVE-2026-29186 vulnerability details – vuln.today

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