Read the docs

Code injection via MkDocs theme configuration in Backstage TechDocs

Priority LOW 39CWE-1336Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00516 44th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial backstage (backstage): 1.50.5, 1.54.6plugin-techdocs-node (@backstage): 1.14.6, 1.15.4+1 more productRed Hat: 2 without a fix

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

VendorProductAffected versionsFixed inStatusSource
backstagebackstagebefore 1.50.5; 1.51.0-next.0 to before 1.54.61.50.5, 1.54.6Patch availableCNA
backstageplugin-techdocs-nodebefore 1.14.6; 1.15.0 to before 1.15.41.14.6, 1.15.4Patch availableCNA
—@backstage/plugin-techdocs-node (npm)before 1.15.41.15.4Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:backstage_plugin-techdocs-node:*:*:*:*:*:*:*:*before 1.14.6; 1.15.0 to before 1.15.4Vulnerablebackstage
cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*before 1.50.5; 1.51.1 to before 1.54.6Vulnerablebackstage
cpe:2.3:a:linuxfoundation:backstage:1.51.0:-:*:*:*:*:*:*1.51.0Vulnerablebackstage
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next0:*:*:*:*:*:*1.51.0 next0Vulnerablebackstage
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next1:*:*:*:*:*:*1.51.0 next1Vulnerablebackstage
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next2:*:*:*:*:*:*1.51.0 next2Vulnerablebackstage
cpe:2.3:a:linuxfoundation:backstage:1.51.0:next3:*:*:*:*:*:*1.51.0 next3Vulnerablebackstage
  • 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 →

ProductStatusPlan or fix
Red Hat Developer Hub 1Affected—
Self-service automation portal 2Affected—

Timeline

  1. 2026-10-07 Threatist record created from CVE-2026-106509
  2. 2026-10-07 Affected versions changed · Red Hat
  3. 2026-10-07 CVSS score added · Red Hat
  4. 2026-10-07 Alias added: GHSA-8w7q-29mw-gf5c
  5. 2026-10-07 Fix available: npm/@backstage/[email protected] · GHSA-8w7q-29mw-gf5c
  6. 2026-10-07 CVSS score added · GHSA-8w7q-29mw-gf5c
  7. 2026-10-07 Weakness changed · GHSA-8w7q-29mw-gf5c
  8. 2026-10-07 7 new references · GHSA-8w7q-29mw-gf5c
  9. 2026-10-07 CISA SSVC decision points changed
  10. 2026-10-07 Priority changed: MEDIUM → LOW
  11. 2026-10-09 CVSS score added · NVD
  12. 2026-10-27 Affected versions changed · Red Hat

References

  • 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
See all 52 →

Sources