{"answers":{"affected":"4 open source packages ship an affected version, including @backstage/plugin-techdocs-node. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-25152 in the wild and no public exploit code.","fix":"Upgrade @backstage/plugin-techdocs-node to a fixed version for your release line: 1.13.11 or 1.14.1.","what":"CVE-2026-25152 is a medium-severity path traversal vulnerability in Linuxfoundation Backstage, published on 30 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25152 and fix it if it is affected.\n\nWhat it is: CVE-2026-25152 is a medium-severity path traversal vulnerability in Linuxfoundation Backstage, published on 30 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-25152 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @backstage/plugin-techdocs-node (npm): affected all versions; fixed in 1.13.11\n- @backstage/plugin-techdocs-node (npm): affected all versions; fixed in 1.13.11\n- @backstage/plugin-techdocs-node (npm): affected from 1.14.0; fixed in 1.14.1\n- @backstage/plugin-techdocs-node (npm): affected from 1.14.0; fixed in 1.14.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25152/ (Markdown: https://insights.sbomify.com/CVE-2026-25152/index.md)","id":"CVE-2026-25152","markdown":"https://insights.sbomify.com/CVE-2026-25152/index.md","name":"CVE-2026-25152","record":{"aliases":["GHSA-w669-jj7h-88m9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Backstage TechDocs plugin","requires_auth":"low_privilege","summary":"Attackers can read arbitrary host files via symlink traversal in TechDocs local generator when configured to run locally.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"backstage","vendor":"linuxfoundation"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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, a 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`. When 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. This vulnerability is fixed in` @backstage/plugin-techdocs-node` versions 1.13.11 and 1.14.1. Some workarounds are available. Switch to `runIn: docker` in `app-config.yaml` and/or restrict write access to TechDocs source repositories to trusted users only.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator","id":"CVE-2026-25152","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"linuxfoundation:backstage","products":["linuxfoundation:backstage"],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"@backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks","id":"CVE-2026-25153"},"packages":[{"ecosystem":"npm","fixed":["1.13.11"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-techdocs-node","purl":null,"source":"GHSA-w669-jj7h-88m9"},{"ecosystem":"npm","fixed":["1.13.11"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-techdocs-node","purl":"pkg:npm/%40backstage/plugin-techdocs-node","source":"GHSA-w669-jj7h-88m9"},{"ecosystem":"npm","fixed":["1.14.1"],"introduced":["1.14.0"],"last_affected":[],"package":"@backstage/plugin-techdocs-node","purl":null,"source":"GHSA-w669-jj7h-88m9"},{"ecosystem":"npm","fixed":["1.14.1"],"introduced":["1.14.0"],"last_affected":[],"package":"@backstage/plugin-techdocs-node","purl":"pkg:npm/%40backstage/plugin-techdocs-node","source":"GHSA-w669-jj7h-88m9"}],"prev":{"headline":"Qwik City has a CSRF Protection Bypass via Content-Type Header Validation","id":"CVE-2026-25151"},"products":["backstage"],"published":"2026-01-30","related":[{"cvss_score":9.6,"headline":"Backstage: Sensitive information exposure in Scaffolder","id":"CVE-2026-106501","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.8,"headline":"Backstage: Improper validation of TechDocs MkDocs configuration","id":"CVE-2026-106558","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":8.8,"headline":"Backstage: Improper input validation in TechDocs MkDocs configuration","id":"CVE-2026-88064","kev_date_added":null,"published":"2026-09-16"},{"cvss_score":8.5,"headline":"Backstage: Improper input validation in Sentry scaffolder actions","id":"CVE-2026-106459","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.5,"headline":"Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions","id":"CVE-2026-106486","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.5,"headline":"Backstage: Improper task state validation in Scaffolder backend","id":"CVE-2026-106500","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.5,"headline":"Path Traversal in @backstage/plugin-scaffolder-backend","id":"CVE-2021-43783","kev_date_added":null,"published":"2021-11-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-02","vendors":["backstage"]},"summary":"Attackers can read arbitrary host files via symlink traversal in TechDocs local generator when configured to run locally.","url":"https://insights.sbomify.com/CVE-2026-25152/"}