{"id":"GHSA-w669-jj7h-88m9","summary":"@backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator","details":"### Impact\nA path traversal vulnerability in the TechDocs local generator allows attackers to read arbitrary files from the host filesystem when Backstage is configured with `techdocs.generator.runIn: local`.\n\nWhen processing documentation from untrusted sources, symlinks within the docs directory are followed by MkDocs during the build process. File contents are embedded into generated HTML and exposed to users who can view the documentation.\n\n### Patches\nThis vulnerability is fixed in` @backstage/plugin-techdocs-node` version X.X.X. Users should upgrade to this version or later.\n\n### Workarounds\n- Switch to `runIn: docker` in your `app-config.yaml`:\n```yaml\n  techdocs:\n    generator:\n      runIn: docker\n```\n  - Restrict write access to TechDocs source repositories to trusted users only\n\n### References\n- https://backstage.io/docs/features/techdocs/configuration","aliases":["CVE-2026-25152"],"modified":"2026-02-03T03:13:40.365410Z","published":"2026-02-02T14:36:39Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-02-02T14:36:39Z","nvd_published_at":"2026-01-30T22:15:56Z"},"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-w669-jj7h-88m9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25152"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/08f388e3394b133171fe13b62a78caf14407b9c3"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"}],"affected":[{"package":{"name":"@backstage/plugin-techdocs-node","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-techdocs-node"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.14.0"},{"fixed":"1.14.1"}]}],"versions":["1.14.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-w669-jj7h-88m9/GHSA-w669-jj7h-88m9.json"}},{"package":{"name":"@backstage/plugin-techdocs-node","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-techdocs-node"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-w669-jj7h-88m9/GHSA-w669-jj7h-88m9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}