# GHSA-8W7Q-29MW-GF5C: Backstage: Improper validation of MkDocs theme configuration in TechDocs

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-10-07
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-106509](https://cve.now/CVE-2026-106509.md): Backstage: Improper validation of MkDocs theme configuration in TechDocs

## Affected versions

- @backstage/plugin-techdocs-node (npm): 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.

## References

- https://github.com/backstage/backstage/security/advisories/GHSA-8w7q-29mw-gf5c
- https://nvd.nist.gov/vuln/detail/CVE-2026-106509
- https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb
- https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/v1.50.5
- https://github.com/backstage/backstage/releases/tag/v1.54.6

Page: https://cve.now/GHSA-8W7Q-29MW-GF5C

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
