{"id":"CVE-2026-106509","aliases":["CVE-2026-106509","GHSA-8w7q-29mw-gf5c"],"related":[],"kind":"vulnerability","state":"published","title":"Backstage: Improper validation of MkDocs theme configuration in TechDocs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen 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.\n\n### Patches\n\nPatched in `@backstage/plugin-techdocs-node` version `1.15.4`\n\n### Workarounds\n\n- Configure TechDocs with `techdocs.generator.runIn: 'docker'` instead of `'local'` to provide container isolation, though this does not fully mitigate the risk.\n- Restrict write access to repositories registered in the Backstage catalog to trusted users.","format":"markdown","source":"ghsa"}],"published":"2026-10-06T21:50:07.721Z","modified":"2026-10-09T17:34:17.120Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94","CWE-1336"],"affected":[{"ranges":[{"version":"< 1.50.5","status":"affected"},{"version":">= 1.51.0-next.0, < 1.54.6","status":"affected"}],"vendor":"backstage","product":"backstage","source":"cvelist"},{"ranges":[{"version":"< 1.14.6","status":"affected"},{"version":">= 1.15.0, < 1.15.4","status":"affected"}],"vendor":"@backstage","product":"plugin-techdocs-node","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.4"}],"ecosystem":"npm","package":"@backstage/plugin-techdocs-node","purl":"pkg:npm/%40backstage/plugin-techdocs-node","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.14.6"},{"status":"affected","introduced":"1.15.0","fixed":"1.15.4"}],"vendor":"linuxfoundation","product":"backstage_plugin-techdocs-node","cpe":"cpe:2.3:a:linuxfoundation:backstage_plugin-techdocs-node:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"1.50.5"},{"status":"affected","introduced":"1.51.1","fixed":"1.54.6"},{"status":"affected","version":"1.51.0"},{"status":"affected","version":"1.51.0"},{"status":"affected","version":"1.51.0"},{"status":"affected","version":"1.51.0"},{"status":"affected","version":"1.51.0"}],"vendor":"linuxfoundation","product":"backstage","cpe":"cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-8w7q-29mw-gf5c","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb","tags":["exploit","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d","tags":["exploit","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/releases/tag/v1.50.5","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/releases/tag/v1.54.6","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106509","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/backstage/backstage","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-07T18:01:39.138Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-106509","url":"https://www.cve.org/CVERecord?id=CVE-2026-106509","licence":"CVE Terms of Use","modified":"2026-10-07T18:01:48.511Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8w7q-29mw-gf5c","url":"https://github.com/advisories/GHSA-8w7q-29mw-gf5c","licence":"CC-BY-4.0","modified":"2026-10-07T16:30:04.718Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-106509","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106509","licence":"Public domain","modified":"2026-10-09T17:34:17.120Z"}],"updatedAt":"2026-11-25T22:59:42.618Z","epss":{"score":0.00464,"percentile":0.41861,"date":"2026-12-01T12:00:22.000Z"}}