CVE-2026-25153
@backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks
Also known as GHSA-6jr7-99pf-8vgf
Mitigation
- Upgrade @backstage/plugin-techdocs-node to one of 1.14.1, 1.13.11 (or later in the same release line).
Who should check
- Projects that depend on npm package @backstage/plugin-techdocs-node (>= 1.14.0, < 1.14.1)
- Anyone running backstage < 1.13.11; = 1.14.0
Vulnerability facts
- Affected
- @backstage/plugin-techdocs-node >= 1.14.0, < 1.14.1
- Fixed in
- 1.14.1, 1.13.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.73% chance of exploitation in 30 days (percentile 50, 2026-11-26)
- CWE
- CWE-94
- Modified
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's `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 < 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @backstage/plugin-techdocs-node | >= 1.14.0, < 1.14.1 | 1.14.1, 1.13.11 | osv |
| backstage | < 1.13.11; = 1.14.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-25153. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-25153.md Affected: @backstage/plugin-techdocs-node >= 1.14.0, < 1.14.1 Fixed in: 1.14.1, 1.13.11 Steps: 1. Search this machine and project for @backstage/plugin-techdocs-node (npm), backstage: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-25153 being exploited?
There is no confirmed exploitation: CVE-2026-25153 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-25153?
High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-25153?
@backstage/plugin-techdocs-node >= 1.14.0, < 1.14.1.
Is there a fix for CVE-2026-25153?
Yes. Fixed in 1.14.1, 1.13.11. Upgrade @backstage/plugin-techdocs-node to one of 1.14.1, 1.13.11 (or later in the same release line).
How do I check if I'm affected by CVE-2026-25153?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.