Backstage
Backstage: Configuration bypass in TechDocs mkdocs.yml sanitization
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by configuration bypass in techdocs mkdocs.yml sanitization. Insufficient validation of MkDocs configuration during TechDocs generation could allow an authenticated user who can register or modify documentation sources to execute arbitrary commands in the build environment. Impact is limited to resources accessible to the TechDocs backend or build container. This issue is fixed in versions 1.14.6 and 1.15.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.50.5
- >= 1.51.0-next.0, < 1.54.6
Fixed in 1.50.5, 1.54.6
- < 1.14.6
- >= 1.15.0, < 1.15.4
Fixed in 1.14.6, 1.15.4
Mitigation
Upgrade backstage to 1.50.5 or 1.54.6 or later.
Upgrade plugin-techdocs-node to 1.14.6 or 1.15.4 or later.
References
- Vendor advisory github.com/backstage/backstage/security/adviso…
- Patch github.com/backstage/backstage/commit/25125ee7…
- Patch github.com/backstage/backstage/commit/b6d1aea0…
2 more
- 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.