{"id":"EUVD-2026-5004","enisaUuid":"671b1916-d5a0-3590-8df3-f192e14e5b61","description":"Backstage is an open framework for building developer portals, and @backstage/plugin-techdocs-node provides common node.js functionalities for TechDocs. In versions of @backstage/plugin-techdocs-node prior to 1.13.11 and 1.14.1, when TechDocs is configured with `runIn: local`, a malicious actor who can submit or modify a repository\u0027s `mkdocs.yml` file can execute arbitrary Python code on the TechDocs build server via MkDocs hooks configuration. @backstage/plugin-techdocs-node versions 1.13.11 and 1.14.1 contain a fix. The fix introduces an allowlist of supported MkDocs configuration keys. Unsupported configuration keys (including `hooks`) are now removed from `mkdocs.yml` before running the generator, with a warning logged to indicate which keys were removed. Users of `@techdocs/cli` should also upgrade to the latest version, which includes the fixed `@backstage/plugin-techdocs-node` dependency. Some workarounds are available. Configure TechDocs with `runIn: docker` instead of `runIn: local` to provide container isolation, though it does not fully mitigate the risk. Limit who can modify `mkdocs.yml` files in repositories that TechDocs processes; only allow trusted contributors. Implement PR review requirements for changes to `mkdocs.yml` files to detect malicious `hooks` configurations before they are merged. Use MkDocs \u003c 1.4.0 (e.g., 1.3.1) which does not support hooks. Note: This may limit access to newer MkDocs features. Building documentation in CI/CD pipelines using `@techdocs/cli` does not mitigate this vulnerability, as the CLI uses the same vulnerable `@backstage/plugin-techdocs-node` package.","datePublished":"Jan 30, 2026, 9:31:58 PM","dateUpdated":"Jul 15, 2026, 1:16:35 AM","baseScore":7.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L","references":"https://github.com/backstage/backstage/security/advisories/GHSA-6jr7-99pf-8vgf\n","aliases":"CVE-2026-25153\nGHSA-6jr7-99pf-8vgf\n","assigner":"GitHub_M","epss":0.53,"enisaIdProduct":[{"id":"0b1ff29a-a706-3cfa-aee7-90a270f874c6","product":{"name":"backstage","vendor":{"name":"backstage"}},"product_version":"\u003d 1.14.0"},{"id":"bfbb864d-4988-3c69-a455-9803ac2b4da2","product":{"name":"backstage","vendor":{"name":"backstage"}},"product_version":"\u003c 1.13.11"}],"enisaIdVendor":[{"id":"a486dc27-5eeb-3831-92a1-fd146930685f","vendor":{"name":"backstage"}}],"enisaIdVulnerability":[{"id":"286bf67a-6a68-3ad9-82c3-a77a694fe151","vulnerability":{"id":"CVE-2026-25153","description":"Backstage is an open framework for building developer portals, and @backstage/plugin-techdocs-node provides common node.js functionalities for TechDocs. In versions of @backstage/plugin-techdocs-node prior to 1.13.11 and 1.14.1, when TechDocs is configured with `runIn: local`, a malicious actor who can submit or modify a repository\u0027s `mkdocs.yml` file can execute arbitrary Python code on the TechDocs build server via MkDocs hooks configuration. @backstage/plugin-techdocs-node versions 1.13.11 and 1.14.1 contain a fix. The fix introduces an allowlist of supported MkDocs configuration keys. Unsupported configuration keys (including `hooks`) are now removed from `mkdocs.yml` before running the generator, with a warning logged to indicate which keys were removed. Users of `@techdocs/cli` should also upgrade to the latest version, which includes the fixed `@backstage/plugin-techdocs-node` dependency. Some workarounds are available. Configure TechDocs with `runIn: docker` instead of `runIn: local` to provide container isolation, though it does not fully mitigate the risk. Limit who can modify `mkdocs.yml` files in repositories that TechDocs processes; only allow trusted contributors. Implement PR review requirements for changes to `mkdocs.yml` files to detect malicious `hooks` configurations before they are merged. Use MkDocs \u003c 1.4.0 (e.g., 1.3.1) which does not support hooks. Note: This may limit access to newer MkDocs features. Building documentation in CI/CD pipelines using `@techdocs/cli` does not mitigate this vulnerability, as the CLI uses the same vulnerable `@backstage/plugin-techdocs-node` package.","datePublished":"Jan 30, 2026, 9:31:58 PM","dateUpdated":"Jul 15, 2026, 1:16:35 AM","status":"PUBLISHED","baseScore":7.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L","references":"https://github.com/backstage/backstage/security/advisories/GHSA-6jr7-99pf-8vgf\n","enisa_id":"EUVD-2026-5004\n","assigner":"GitHub_M","epss":0.53,"dataProcessed":"Nov 23, 2026, 7:17:19 AM","vulnerabilityProduct":[{"id":"3fd49d87-ef82-3fbe-a607-736e758226a5","product":{"name":"backstage","vendor":{"name":"backstage"}},"product_version":"\u003c 1.13.11"},{"id":"9d2ed967-f3cb-3ff8-a803-cc489314c1c4","product":{"name":"backstage","vendor":{"name":"backstage"}},"product_version":"\u003d 1.14.0"}],"vulnerabilityVendor":[{"id":"0bc98309-b43e-3489-b31b-0e02ce88cabd","vendor":{"name":"backstage"}}]}},{"id":"2fcf7795-38d3-383a-b27c-feda2cdcdc52","vulnerability":{"id":"GHSA-6jr7-99pf-8vgf","description":"@backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks","datePublished":"Feb 2, 2026, 8:19:58 PM","dateUpdated":"Feb 2, 2026, 8:19:58 PM","baseScore":0.0,"references":"https://github.com/backstage/backstage/security/advisories/GHSA-6jr7-99pf-8vgf\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-25153\nhttps://github.com/backstage/backstage\n","enisa_id":"EUVD-2026-5004\n","aliases":"GHSA-6jr7-99pf-8vgf\nCVE-2026-25153\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:48:14 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"8578394d-ffe5-3fdc-b30d-bb2c04748dfd","advisory":{"id":"RHSA-2026:6802","description":"Red Hat Security Advisory: Red Hat Developer Hub 1.9.3 release.","summary":"Red Hat Developer Hub 1.9.3 has been released.","datePublished":"Apr 7, 2026, 1:22:11 PM","dateUpdated":"Nov 21, 2026, 7:11:53 PM","baseScore":0.0,"references":"https://access.redhat.com/errata/RHSA-2026:6802\nhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_6802.json\n","aliases":"CVE-2025-61140\nCVE-2025-69873\nCVE-2026-1615\nCVE-2026-2359\nCVE-2026-3304\nCVE-2026-3520\nCVE-2026-24046\nCVE-2026-25153\nCVE-2026-25639\nCVE-2026-25679\nCVE-2026-25896\nCVE-2026-26278\nCVE-2026-27606\nCVE-2026-27942\nCVE-2026-33186\n","source":{"id":9,"name":"csaf_redhat"},"advisoryProduct":[{"id":"71b99bd7-645d-3dd6-bc52-ba55ebcb646d","product":{"name":"registry.redhat.io/rhdh/rhdh-operator-bundle@sha256:6d52fc14afcaa18b7a09607fcdc34edf3b222030aa69cc91612a38191aca41aa_amd64","vendor":{"name":"Red Hat"}}},{"id":"82310742-fd17-3f8b-88ba-57e471d9193e","product":{"name":"Red Hat Developer Hub 1.9","vendor":{"name":"Red Hat"}}},{"id":"c7c6b75d-f3ff-3faa-b958-6c7be071ac86","product":{"name":"registry.redhat.io/rhdh/rhdh-rhel9-operator@sha256:4e4ab9dd3243274e6f378553e241ae8b9fdeed7fe2daaa7efb34f60ee46a2eef_amd64","vendor":{"name":"Red Hat"}}},{"id":"d772aaeb-dba3-35e1-a776-9d5c02210ca3","product":{"name":"registry.redhat.io/rhdh/rhdh-hub-rhel9@sha256:5e564d74dd0a96027d9283991bda32a13b87384a9c9572456ce318dfac7e9f7d_amd64","vendor":{"name":"Red Hat"}}}]}},{"id":"d56908b4-ead4-36c3-a252-519d497a1ea9","advisory":{"id":"RHSA-2026:6174","description":"Red Hat Security Advisory: Red Hat Developer Hub 1.8.5 release.","summary":"Red Hat Developer Hub 1.8.5 has been released.","datePublished":"Mar 30, 2026, 12:51:47 PM","dateUpdated":"Nov 18, 2026, 4:00:43 AM","baseScore":0.0,"references":"https://access.redhat.com/errata/RHSA-2026:6174\nhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_6174.json\n","aliases":"CVE-2025-61140\nCVE-2026-2359\nCVE-2026-3304\nCVE-2026-3520\nCVE-2026-24046\nCVE-2026-25153\nCVE-2026-25639\nCVE-2026-25896\nCVE-2026-26278\nCVE-2026-27606\nCVE-2026-27942\nCVE-2026-33186\n","source":{"id":9,"name":"csaf_redhat"},"advisoryProduct":[{"id":"094088e3-4d41-3f9f-afce-1327fd501765","product":{"name":"registry.redhat.io/rhdh/rhdh-rhel9-operator@sha256:72d72d0e8b67012bfaaeae0e1fbbcf8e35c74d4d6252051eabef3e9dd979d48e_amd64","vendor":{"name":"Red Hat"}}},{"id":"0bdf8013-abfe-3328-89e8-2ac0baa71511","product":{"name":"registry.redhat.io/rhdh/rhdh-operator-bundle@sha256:400d642f10348a0728a624b135228714b3302f1cabc096150a340407133c54e7_amd64","vendor":{"name":"Red Hat"}}},{"id":"1b51f38b-dba5-3cc1-a3ee-0561f2f88af0","product":{"name":"registry.redhat.io/rhdh/rhdh-hub-rhel9@sha256:2e8ed97c6e6d232f66bb81dc074b8bb2712dc54004cc565fcb1d2b43a9bb2046_amd64","vendor":{"name":"Red Hat"}}},{"id":"fdd7349d-94a0-3f94-b7ef-c332a0f5e480","product":{"name":"Red Hat Developer Hub 1.8","vendor":{"name":"Red Hat"}}}]}}]}