Backstage
Backstage: Improper validation of TechDocs MkDocs configuration
Backstage is an open framework for building developer portals. Prior to 1.14.8, 1.15.6, and 2.0.1, the @backstage/plugin-techdocs-node package improperly validated mapping-style markdown_extensions configuration. An authenticated attacker who can register or influence an SCM-backed documentation source may bypass TechDocs sanitization and cause Python objects to be imported and instantiated in the generator runtime, leading to arbitrary code execution. Earlier fixes in versions 1.14.6 and 1.15.4 did not fully address the supported mapping representation of markdown_extensions. Impact is greatest when documentation generation runs with backend credentials, filesystem access, or internal network access. This issue is fixed in versions 1.14.8, 1.15.6, and 2.0.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.50.7
- >= 1.51.0-next.0, < 1.54.9
- >= 1.55.0-next.0, < 1.55.2
Fixed in 1.50.7, 1.54.9, 1.55.2
- < 1.14.8
- >= 1.15.0, < 1.15.6
- >= 2.0.0, < 2.0.1
Fixed in 1.14.8, 1.15.6, 2.0.1
Mitigation
Upgrade backstage to 1.50.7 or 1.54.9 or 1.55.2 or later.
Upgrade plugin-techdocs-node to 1.14.8 or 1.15.6 or 2.0.1 or later.
References
- Vendor advisory github.com/backstage/backstage/security/adviso…
- Patch github.com/backstage/backstage/commit/32723a0f…
- Patch github.com/backstage/backstage/commit/944edb51…
4 more
- Patch github.com/backstage/backstage/commit/f18e9abc…
- Release notes github.com/backstage/backstage/releases/tag/v1…
- Release notes github.com/backstage/backstage/releases/tag/v1…
- Release notes github.com/backstage/backstage/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.