CVE-2026-106509
JSON

7.7high

Backstage: Improper validation of MkDocs theme configuration in TechDocs

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8w7q-29mw-gf5c

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.

Affected

Product or packageVersionsReported by
backstage backstage< 1.50.5, >= 1.51.0-next.0, < 1.54.6CVE List
@backstage plugin-techdocs-node< 1.14.6, >= 1.15.0, < 1.15.4CVE List
@backstage/plugin-techdocs-node (npm)before 1.15.4GitHub Advisory Database
linuxfoundation backstage_plugin-techdocs-nodebefore 1.14.6, from 1.15.0 before 1.15.4NVD
linuxfoundation backstagebefore 1.50.5, from 1.51.1 before 1.54.6, 1.51.0NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94CWE-1336

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

Patched in @backstage/plugin-techdocs-node version 1.15.4

Workarounds
  • Configure TechDocs with techdocs.generator.runIn: 'docker' instead of 'local' to provide container isolation, though this does not fully mitigate the risk.
  • Restrict write access to repositories registered in the Backstage catalog to trusted users.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-106509 changed 2026-10-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-8w7q-29mw-gf5c changed 2026-10-07CC-BY-4.0
NVDCVE-2026-106509 changed 2026-10-09Public domain