CVE-2026-25153
CVSS v3
7.7
HIGH
EPSS Score
0.6 %
exploit probability, as of 2026-10-18
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for @backstage/plugin-techdocs-node.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @backstage/plugin-techdocs-nodenpmall versions · fixed in 1.13.11
Vendor advisories
@backstage/plugin-techdocs-node: @backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks
ansible-automation-platform/automation-portal as a component of Self-service automation portal 2
Red Hat Security Advisory: Red Hat Developer Hub 1.9.3 release.
Red Hat Security Advisory: Red Hat Developer Hub 1.8.5 release.
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
- Published
- 2026-01-30
- Last Modified
- 2026-02-19
Frequently asked questions
What is CVE-2026-25153?
Is CVE-2026-25153 actively exploited?
What is the CVSS score for CVE-2026-25153?
Running @backstage/plugin-techdocs-node? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-29186same product@backstage/plugin-techdocs-node: TechDocs Mkdocs Configuration Key Enables Arbitrary Code Execution
- CVE-2026-106558same productBackstage: Improper validation of TechDocs MkDocs configuration
- CVE-2026-106510same productBackstage: Remote code execution via crafted markdown_extensions in TechDocs mkdocs.yml
- CVE-2026-25152same product@backstage/plugin-techdocs-node vulnerable to possible Path Traversal in TechDocs Local Generator
- CVE-2026-106509same productBackstage: Improper validation of MkDocs theme configuration in TechDocs
- CVE-2026-106455same productBackstage: Improper validation of MkDocs plugin configuration in TechDocs
- CVE-2026-106505same productBackstage: Bypass of MkDocs configuration sanitizer in TechDocs backend
- CVE-2026-106508same productBackstage: Potential file exposure through local TechDocs publisher