GHSA-8w7q-29mw-gf5c: Code Injection

Published Oct 7, 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.

Affected Software

1 affected componentFixes available
npm/@backstage/plugin-techdocs-node<1.15.4
1.15.4

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. Configuration

    Configure TechDocs to use techdocs.generator.runIn: 'docker' instead of 'local' to provide container isolation.

    TechDocs techdocs.generator.runIn = docker
  4. Compensating control

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

Event History

Oct 7, 2026
Advisory Published
via GitHub·04:23 PM
Data Sourced
via GitHub·04:23 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs write access to a repository registered in the Backstage catalog. They can place malicious configuration values in that repository's mkdocs.yml file.

2

Which TechDocs configurations are exposed?

TechDocs configurations that build documentation locally or in a container are affected. Container execution provides isolation but does not fully mitigate the risk.

3

What can be done before updating?

Set techdocs.generator.runIn to 'docker' rather than 'local' and restrict write access to registered catalog repositories to trusted users. This is only a partial mitigation; updating remains necessary.

4

What version contains the patch?

The issue is patched in @backstage/plugin-techdocs-node version 1.15.4.

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