GHSA-4488-j8vj-vqqv
Backstage: Remote code execution via crafted markdown_extensions in TechDocs mkdocs.yml
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @backstage/plugin-techdocs-node | < 1.15.4 | 1.15.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
An authenticated user who can register catalog entities can provide a crafted `mkdocs.yml` causing arbitrary OS command execution on the TechDocs build host when the docs are built.
### Patches
Patched in `@backstage/plugin-techdocs-node`, version `1.15.4`.
### Workarounds
If you cannot upgrade immediately:
- Switch to `techdocs.builder: external` to isolate TechDocs builds in a container.
- Restrict who can register catalog entities with TechDocs annotations.
- Audit existing catalog entities for suspicious `markdown_extensions` values in their `mkdocs.yml` files.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/backstage/backstage/security/advisories/GHSA-4488-j8vj-vqqv
- https://nvd.nist.gov/vuln/detail/CVE-2026-106510
- https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb
- https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/v1.50.5
- https://github.com/backstage/backstage/releases/tag/v1.54.6