CVE-2026-106509: Backstage: Improper validation of MkDocs theme configuration in TechDocs
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.
Published Oct 7, 2026
Affected packages
@backstage/plugin-techdocs-node
- Ecosystem
- npm
- Affected
- < 1.15.4
- Fixed in
- 1.15.4
- Check
npm ls @backstage/plugin-techdocs-node
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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/releases/tag/v1.50.5
- https://github.com/backstage/backstage/releases/tag/v1.54.6
- https://github.com/advisories/GHSA-8w7q-29mw-gf5c
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-106455
Backstage: Improper validation of MkDocs plugin configuration in TechDocs
high7.7Oct 7, 2026CVE-2026-106505
Backstage: Bypass of MkDocs configuration sanitizer in TechDocs backend
high7.7Oct 7, 2026CVE-2026-106508
Backstage has potential file exposure through local TechDocs publisher
medium5.3Oct 7, 2026CVE-2026-106510
Backstage: Remote code execution via crafted markdown_extensions in TechDocs mkdocs.yml
high7.7Oct 7, 2026CVE-2026-106557
Backstage has improper input validation in TechDocs Markdown extension configuration
high7.7Oct 7, 2026CVE-2026-106558
Backstage: Improper validation of TechDocs MkDocs configuration
high8.8Oct 7, 2026
