Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-25153

published high CVSS 3.1 · 7.7

@backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks

Published
30 Jan 2026, 21:31:58 UTC
Updated
15 Jul 2026, 01:16:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
backstage — backstage< 1.13.11 · = 1.14.0 Affected Not stated GitHub_M
Red Hat — rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.8 · 1774545605 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.9 · 1775140647 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform/automation-portalSelf-service automation portal 2 Affected Not stated redhat-SADP

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A code injection flaw has been discovered in the npm @backstage/plugin-techdocs-node library. 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.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.7 high redhat-SADP · adp CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
backstage backstage < 1.13.11 (affected)= 1.14.0 (affected) GitHub_M · cna
Red Hat Red Hat Developer Hub 1.8 1774545605 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Developer Hub 1.9 1775140647 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Self-service automation portal 2 Default: affected redhat-SADP · adp

Weaknesses

2
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)
  • CWE-94 Improper Control of Generation of Code ('Code Injection') (redhat-SADP · adp)

References

6

Provider assertions

3

GitHub_M · cna

@backstage/plugin-techdocs-node vulnerable to arbitrary code execution via MkDocs hooks

redhat-SADP · adp

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
73cb57b06a6399bd975b58205c1c5fdd72e4301703a95ed161516dc22e0ecc25
Ingested
23 Sep 2026, 09:06:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected