7.7high
Backstage: Improper validation of MkDocs theme configuration in TechDocs
- Severity
- 7.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-8w7q-29mw-gf5c
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| backstage backstage | < 1.50.5, >= 1.51.0-next.0, < 1.54.6 | CVE List |
| @backstage plugin-techdocs-node | < 1.14.6, >= 1.15.0, < 1.15.4 | CVE List |
| @backstage/plugin-techdocs-node (npm) | before 1.15.4 | GitHub Advisory Database |
| linuxfoundation backstage_plugin-techdocs-node | before 1.14.6, from 1.15.0 before 1.15.4 | NVD |
| linuxfoundation backstage | before 1.50.5, from 1.51.1 before 1.54.6, 1.51.0 | NVD |
All scores
| GitHub_M | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L |
| GitHub | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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 | mitigation, vendor-advisory, web | |
| https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb | exploit, patch, web | |
| https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d | exploit, patch, web | |
| https://github.com/backstage/backstage/releases/tag/v1.50.5 | release-notes, web | |
| https://github.com/backstage/backstage/releases/tag/v1.54.6 | release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-106509 | advisory | |
| https://github.com/backstage/backstage | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-106509 changed 2026-10-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8w7q-29mw-gf5c changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-106509 changed 2026-10-09 | Public domain |