Code injection via MkDocs theme configuration in Backstage TechDocs
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1336.
Summary
The @backstage/plugin-techdocs-node package is affected before 1.14.6 and from 1.15.0 before 1.15.4, and Backstage itself is affected before 1.50.5 and from 1.51.0-next.0 before 1.54.6. Improper validation of MkDocs theme configuration (CWE-94) lets code execute during documentation builds. A user with write access to a registered repository can add mkdocs.yml values that run arbitrary code during local or container builds of TechDocs. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by improper validation of mkdocs theme configuration in techdocs. When TechDocs is configured to build documentation locally or in a container, a user with write access to a registered repository can include configuration values in mkdocs.yml that cause arbitrary code execution during the documentation build process. This issue is fixed in versions 1.14.6 and 1.15.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | backstage | before 1.50.5; 1.51.0-next.0 to before 1.54.6 | 1.50.5, 1.54.6 | Patch available | CNA |
| backstage | plugin-techdocs-node | before 1.14.6; 1.15.0 to before 1.15.4 | 1.14.6, 1.15.4 | Patch available | CNA |
| — | @backstage/plugin-techdocs-node (npm) | before 1.15.4 | 1.15.4 | Patch available | GHSA-8w7q-29mw-gf5c |
- backstage Vendorbackstage Affected before 1.50.5; 1.51.0-next.0 to before 1.54.6 Fixed in 1.50.5, 1.54.6 Patch available CNA
- plugin-techdocs-node Vendorbackstage Affected before 1.14.6; 1.15.0 to before 1.15.4 Fixed in 1.14.6, 1.15.4 Patch available CNA
- @backstage/plugin-techdocs-node (npm) Vendor— Affected before 1.15.4 Fixed in 1.15.4 Patch available GHSA-8w7q-29mw-gf5c
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:linuxfoundation:backstage_plugin-techdocs-node:*:*:*:*:*:*:*:* | before 1.14.6; 1.15.0 to before 1.15.4 | Vulnerable | backstage |
| cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:* | before 1.50.5; 1.51.1 to before 1.54.6 | Vulnerable | backstage |
| cpe:2.3:a:linuxfoundation:backstage:1.51.0:-:*:*:*:*:*:* | 1.51.0 | Vulnerable | backstage |
| cpe:2.3:a:linuxfoundation:backstage:1.51.0:next0:*:*:*:*:*:* | 1.51.0 next0 | Vulnerable | backstage |
| cpe:2.3:a:linuxfoundation:backstage:1.51.0:next1:*:*:*:*:*:* | 1.51.0 next1 | Vulnerable | backstage |
| cpe:2.3:a:linuxfoundation:backstage:1.51.0:next2:*:*:*:*:*:* | 1.51.0 next2 | Vulnerable | backstage |
| cpe:2.3:a:linuxfoundation:backstage:1.51.0:next3:*:*:*:*:*:* | 1.51.0 next3 | Vulnerable | backstage |
- cpe:2.3:a:linuxfoundation:backstage_plugin-techdocs-node:*:*:*:*:*:*:*:* Versions before 1.14.6; 1.15.0 to before 1.15.4 Vulnerable ·backstage
- cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:* Versions before 1.50.5; 1.51.1 to before 1.54.6 Vulnerable ·backstage
- cpe:2.3:a:linuxfoundation:backstage:1.51.0:-:*:*:*:*:*:* Versions 1.51.0 Vulnerable ·backstage
- cpe:2.3:a:linuxfoundation:backstage:1.51.0:next0:*:*:*:*:*:* Versions 1.51.0 next0 Vulnerable ·backstage
- cpe:2.3:a:linuxfoundation:backstage:1.51.0:next1:*:*:*:*:*:* Versions 1.51.0 next1 Vulnerable ·backstage
- cpe:2.3:a:linuxfoundation:backstage:1.51.0:next2:*:*:*:*:*:* Versions 1.51.0 next2 Vulnerable ·backstage
- cpe:2.3:a:linuxfoundation:backstage:1.51.0:next3:*:*:*:*:*:* Versions 1.51.0 next3 Vulnerable ·backstage
Remediation
Update @backstage/plugin-techdocs-node to 1.14.6 or 1.15.4. The sources list no fixed version for backstage. Red Hat lists Red Hat Developer Hub 1 and Self-service automation portal 2 as affected without a fix.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA backstage (backstage) Fixed in 1.50.5, 1.54.6
- Fix · CNA plugin-techdocs-node (@backstage) Fixed in 1.14.6, 1.15.4
- Fix · GHSA-8w7q-29mw-gf5c @backstage/plugin-techdocs-node (npm) Fixed in 1.15.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Developer Hub 1 | Affected | — |
| Self-service automation portal 2 | Affected | — |
Timeline
- 2026-10-07 Threatist record created from CVE-2026-106509
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-07 CVSS score added · Red Hat
- 2026-10-07 Alias added: GHSA-8w7q-29mw-gf5c
- 2026-10-07 Fix available: npm/@backstage/[email protected] · GHSA-8w7q-29mw-gf5c
- 2026-10-07 CVSS score added · GHSA-8w7q-29mw-gf5c
- 2026-10-07 Weakness changed · GHSA-8w7q-29mw-gf5c
- 2026-10-07 7 new references · GHSA-8w7q-29mw-gf5c
- 2026-10-07 CISA SSVC decision points changed
- 2026-10-07 Priority changed: MEDIUM → LOW
- 2026-10-09 CVSS score added · NVD
- 2026-10-27 Affected versions changed · Red Hat
References
Exploit 2
Advisory 2
More Backstage vulnerabilities
- TI-2023-17988 Insecure sandbox in Backstage Scaffolder plugin CVSS 3.1CRITICAL 9.9
- TI-2026-69075 Sensitive information exposure in Backstage Scaffolder CVSS 3.1CRITICAL 9.6
- TI-2026-69061 Path traversal in Backstage Bitbucket pull-request scaffolder actions CVSS 3.1CRITICAL 9.9
- TI-2026-60083 Backstage: Improper input validation in TechDocs MkDocs configuration CVSS 3.1HIGH 8.8
- TI-2026-69165 Backstage TechDocs config flaw allows code execution CVSS 3.1HIGH 8.8
- TI-2026-69074 Race condition in Backstage scaffolder backend task handling CVSS 3.1HIGH 8.5
Sources
- CVE-2026-106509 · CVE Program
- CVE-2026-106509 · NVD
- FIRST EPSS
- GHSA-8w7q-29mw-gf5c · GitHub Advisory Database · CC BY 4.0
- CVE-2026-106509 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences