TechDocs mkdocs.yml path traversal
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
Backstage is an open platform for building developer portals, and techdocs-common contains common functionalities for Backstage's TechDocs. In `@backstage/techdocs-common` versions prior to 0.6.3, a malicious actor could read sensitive files from the environment where TechDocs documentation is built and published by setting a particular path for `docs_dir` in `mkdocs.yml`. These files would then be available over the TechDocs backend API. This vulnerability is mitigated by the fact that an attacker would need access to modify the `mkdocs.yml` in the documentation source code, and would also need access to the TechDocs backend API. The vulnerability is patched in the `0.6.3` release of `@backstage/techdocs-common`.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | backstage | before 0.6.3 | 0.6.3 | Patch available | CNA |
| — | @backstage/techdocs-common (npm) | before 0.6.3 | 0.6.3 | Patch available | GHSA-pgf8-28gg-vpr6 |
- backstage Vendorbackstage Affected before 0.6.3 Fixed in 0.6.3 Patch available CNA
- @backstage/techdocs-common (npm) Vendor— Affected before 0.6.3 Fixed in 0.6.3 Patch available GHSA-pgf8-28gg-vpr6
Remediation
- Fix · CNA backstage (backstage) Fixed in 0.6.3
- Fix · GHSA-pgf8-28gg-vpr6 @backstage/techdocs-common (npm) Fixed in 0.6.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32662
- 2026-10-03 Alias added: GHSA-pgf8-28gg-vpr6
References
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-69083 Code injection via MkDocs theme configuration in Backstage TechDocs CVSS 3.1HIGH 8.8
Sources
- CVE-2021-32662 · CVE Program
- CVE-2021-32662 · NVD
- FIRST EPSS
- GHSA-pgf8-28gg-vpr6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences