{"id":"CVE-2026-106509","published":"2026-10-06T21:50:07Z","modified":"2026-10-07T18:01:48Z","title":"Backstage: Improper validation of MkDocs theme configuration in TechDocs","vendor":"backstage","product":"backstage","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00683,"percentile":0.47688,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-8w7q-29mw-gf5c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/releases/tag/v1.50.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/releases/tag/v1.54.6","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.54},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"backstage","product":"backstage","versions":["< 1.50.5",">= 1.51.0-next.0, < 1.54.6"]},{"vendor":"@backstage","product":"plugin-techdocs-node","versions":["< 1.14.6",">= 1.15.0, < 1.15.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T18:01:39.138438Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/plugin-techdocs-node","vulnerableRanges":["<1.15.4"],"patched":["1.15.4"],"from":["GHSA-8w7q-29mw-gf5c"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-94074","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-backstage-cve-2026-88064","parents":[{"from":"CVE-2026-106455","to":"CVE-2026-106509","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["plugins/techdocs-node/src/stages/generate/mkdocsPatchers.ts"],"commits":["https://github.com/backstage/backstage/commit/28aa82ae2815988721dd7bbf43cd69c431dcd71b","https://github.com/backstage/backstage/commit/9f76ea445088961f68c364764cc4b7734f368fc0","https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb","https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d"],"basis":"shared function","functions":["Set"]}]},{"from":"CVE-2026-106505","to":"CVE-2026-106509","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["plugins/techdocs-node/src/stages/generate/helpers.ts"],"commits":["https://github.com/backstage/backstage/commit/a7d995f11a5d27f0efbdbe8bb6c21b06988c79c9","https://github.com/backstage/backstage/commit/ef92d3d2b76046205c580e7152956514c15640db","https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb","https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d"],"basis":"shared function","functions":["Set"]}]}]}}