Description
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by improper validation of mkdocs theme configuration in techdocs. When TechDocs is configured to build documentation locally or in a container, a user with write access to a registered repository can include configuration values in mkdocs.yml that cause arbitrary code execution during the documentation build process. This issue is fixed in versions 1.14.6 and 1.15.4.
Published: 2026-10-06
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary Code Execution
Action: Immediate Patch
AI Analysis

Impact

The flaw lies in the TechDocs plugin’s handling of MkDocs theme configuration, which lacks proper validation. A contributor with write access can embed malicious settings in mkdocs.yml that are executed during the documentation build, allowing arbitrary code execution with the build environment’s privileges. This compromises confidentiality, integrity, and availability of the system producing the docs.

Affected Systems

Any Backstage install using @backstage/plugin-techdocs-node or the core backstage package before version 1.14.6 is vulnerable. Versions 1.14.6 and later, and 1.15.4, contain the fix. Earlier releases that have not applied these patches must be upgraded.

Risk and Exploitability

With a CVSS score of 7.7 the vulnerability is high. No EPSS information is available, and the vulnerability is not listed in CISA KEV, suggesting no publicly confirmed exploitation yet. Exploitation requires write access to the repository and the ability to trigger a documentation build locally or in CI. Because the arbitrary code runs under the build environment, the impact can be severe.

Generated by OpenCVE AI on October 7, 2026 at 01:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @backstage/plugin-techdocs-node to 1.14.6 or later and backstage to a patched release such as 1.14.6, 1.15.4, or newer.
  • Restrict write access to repositories that contain mkdocs.yml files; use branch protection rules to prevent untrusted contributors from committing arbitrary configuration.
  • Isolate the documentation build environment, run builds in a container with the minimal required permissions, and if possible, supply MkDocs configuration through a trusted source rather than user input.
  • If an upgrade is not immediately possible, temporarily disable local or container-based TechDocs builds until a patch is applied, and validate any MkDocs theme configuration against a whitelist before execution.

Generated by OpenCVE AI on October 7, 2026 at 01:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8w7q-29mw-gf5c Backstage: Improper validation of MkDocs theme configuration in TechDocs
History

Fri, 09 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation backstage
Linuxfoundation backstage Plugin-techdocs-node
CPEs cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage:1.51.0:-:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next0:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next1:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next2:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next3:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage_plugin-techdocs-node:*:*:*:*:*:*:*:*
Vendors & Products Linuxfoundation
Linuxfoundation backstage
Linuxfoundation backstage Plugin-techdocs-node

Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Backstage
Backstage backstage
Backstage plugin-techdocs-node
Vendors & Products Backstage
Backstage backstage
Backstage plugin-techdocs-node

Thu, 08 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 07 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
Description Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by improper validation of mkdocs theme configuration in techdocs. When TechDocs is configured to build documentation locally or in a container, a user with write access to a registered repository can include configuration values in mkdocs.yml that cause arbitrary code execution during the documentation build process. This issue is fixed in versions 1.14.6 and 1.15.4.
Title Backstage: Improper validation of MkDocs theme configuration in TechDocs
Weaknesses CWE-1336
CWE-94
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L'}


Subscriptions

Backstage Backstage Plugin-techdocs-node
Linuxfoundation Backstage Backstage Plugin-techdocs-node
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-07T18:01:48.511Z

Reserved: 2026-10-06T18:46:47.767Z

Link: CVE-2026-106509

cve-icon Vulnrichment

Updated: 2026-10-07T18:01:44.896Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T22:17:06.463

Modified: 2026-10-09T17:34:17.120

Link: CVE-2026-106509

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-06T21:50:07Z

Links: CVE-2026-106509 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:30:57Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')