GitHub Advisoryadvisory · npm

GHSA-8w7q-29mw-gf5c Backstage: Improper validation of MkDocs theme configuration in TechDocs

HIGH Published 2026-10-07 Modified 2026-10-07 Official page ↗
Aliases
CVE-2026-106509
Ecosystem
npm
Packages
@backstage/plugin-techdocs-node
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
Weaknesses
CWE-1336, CWE-94
Reviewed
2026-10-07

Affected packages

• npm @backstage/plugin-techdocs-node: < 1.15.4 → fixed in 1.15.4

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-106509 Backstage is an open framework for building developer portals. vulnerability

Weakness · CWE (2)

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine weakness
  • CWE-94 Improper Control of Generation of Code weakness

References