# CVE-2026-25153: @backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-01-30T21:31:58.870Z
- Modified: 2026-11-17T20:20:53.367Z
- Also known as: GHSA-6jr7-99pf-8vgf
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- backstage backstage: < 1.13.11; = 1.14.0
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1774545605 before *; from 1775140647 before *)
- ansible-automation-platform/automation-portal: no versions given
- @backstage/plugin-techdocs-node (npm): from 1.14.0 before 1.14.1; before 1.13.11
- linuxfoundation backstage/plugin-techdocs-node: before 1.13.11; from 1.14.0 before 1.14.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L`
- redhat-SADP: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`

## References

- <https://github.com/backstage/backstage/security/advisories/GHSA-6jr7-99pf-8vgf> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-25153> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2435576> (issue-tracking, third-party-advisory)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25153.json> (third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6174> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6802> (third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25153> (advisory)
- <https://github.com/backstage/backstage> (package)

## Sources

- CVE List: [CVE-2026-25153](https://www.cve.org/CVERecord?id=CVE-2026-25153), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-6jr7-99pf-8vgf](https://github.com/advisories/GHSA-6jr7-99pf-8vgf), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-25153](https://nvd.nist.gov/vuln/detail/CVE-2026-25153), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-25153 · Whole record: https://cve.day/CVE-2026-25153.json · Rebuilt by cve.day 2026-11-25T22:59:13.327Z
