CVE-2026-106509: Backstage: Improper validation of MkDocs theme configuration in TechDocs

Published Oct 6, 2026
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

11 affected componentsFixes available
npm/@backstage/plugin-techdocs-node<1.14.6, >=1.15.0<1.15.4
npm/@backstage/plugin-techdocs-node<1.15.4
1.15.4
linuxfoundation Backstage Plugin-techdocs-node<1.14.6
linuxfoundation Backstage Plugin-techdocs-node>=1.15.0<1.15.4
linuxfoundation Backstage<1.50.5
linuxfoundation Backstage>=1.51.1<1.54.6
linuxfoundation Backstage=1.51.0
linuxfoundation Backstage=1.51.0-next0
linuxfoundation Backstage=1.51.0-next1
linuxfoundation Backstage=1.51.0-next2
linuxfoundation Backstage=1.51.0-next3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@backstage/plugin-techdocs-node to a version that resolves this vulnerability.

    Fixed in 1.15.4
  2. Upgrade

    Upgrade @backstage/plugin-techdocs-node to a version that resolves this vulnerability.

    Fixed in 1.15.4
  3. Upgrade

    Upgrade @backstage/plugin-techdocs-node to a version that resolves this vulnerability.

    Fixed in 1.14.6
  4. Configuration

    Configure TechDocs with techdocs.generator.runIn: 'docker' instead of 'local' to provide container isolation; this does not fully mitigate the risk.

    Backstage TechDocs techdocs.generator.runIn = docker
  5. Compensating control

    Restrict write access to repositories registered in the Backstage catalog to trusted users.

Event History

Oct 6, 2026
CVE Published
via MITRE·09:50 PM
Data Sourced
via MITRE·09:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 7, 2026
Advisory Published
via GitHub·04:23 PM
Data Sourced
via GitHub·04:23 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to exploitation?

Deployments using @backstage/plugin-techdocs-node with TechDocs configured to build documentation locally or in a container are exposed if users have write access to a registered repository. Those users can supply malicious values through that repository's mkdocs.yml file.

2

What access does an attacker need?

The attacker needs write access to a repository registered with TechDocs. No user interaction is required once the malicious documentation configuration is processed during a build.

3

Are all TechDocs deployments affected?

The issue is described only for TechDocs deployments that build documentation locally or in a container. The provided information does not identify other build configurations as affected.

4

Which versions contain the fix?

The issue is fixed in @backstage/plugin-techdocs-node versions 1.14.6 and 1.15.4. Versions prior to 1.14.6 are identified as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203