CVE-2026-25152: @backstage/plugin techdocs node Path Traversal Vulnerability
MODERATECVE-2026-25152 is a MODERATE (CVSS 5.3) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting @backstage/plugin techdocs node libraries in the npm ecosystem. The issue involves @backstage/plugin-techdocs-node vulnerable to possible path traversal in techdocs local generator. Remediation is available by upgrading affected packages to version 1.14.1, 1.13.11.
CVE-2026-25152 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-25152
To remediate this vulnerability, upgrade all affected @backstage/plugin techdocs node dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @backstage/plugin-techdocs-node@1.14.1
npm install @backstage/plugin-techdocs-node@1.13.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @backstage/plugin-techdocs-node
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-25152, inspect your project dependencies using npm:
npm ls @backstage/plugin-techdocs-node
Analyze the terminal output to locate any version of @backstage/plugin techdocs node in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.14.1), your application is affected.
Note: The npm ls @backstage/plugin-techdocs-node command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In @backstage/plugin techdocs node, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-25152 Affected @backstage/plugin techdocs node Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@backstage/plugin-techdocs-node
|
npm |
≥ 1.14.0
< 1.14.1
All 1 versions
1.14.0
|
1.14.1
|
|
@backstage/plugin-techdocs-node
|
npm |
< 1.13.11
|
1.13.11
|
References
Frequently Asked Questions
What is CVE-2026-25152?
Which @backstage/plugin techdocs node versions are affected?
What version fixes CVE-2026-25152?
Is @backstage/plugin-techdocs-node affected?
What is the CVSS score of CVE-2026-25152?
What CWE is associated with CVE-2026-25152?
How can I check npm dependencies for CVE-2026-25152?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w669-jj7h-88m9",
"modified" : "2026-02-02T14:36:39Z",
"published" : "2026-02-02T14:36:39Z",
"aliases" : [ "CVE-2026-25152" ],
"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",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@backstage/plugin-techdocs-node"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.14.0"
}, {
"fixed" : "1.14.1"
} ]
} ],
"versions" : [ "1.14.0" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@backstage/plugin-techdocs-node"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.13.11"
} ]
} ]
} ],
"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"
} ],
"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"
}
}