CVE-2021-32662: TechDocs mkdocs.yml path traversal
Vulnerability summary
CVE-2021-32662 is a medium (CVSS 6.5) vulnerability in backstage. EPSS estimates a 1.28% chance of exploitation in the next 30 days, higher than 71% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 03-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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`.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.28%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.28% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Linuxfoundation2 products
- backstage< 0.6.3
- backstage\/techdocs-common< 0.6.3
@backstage1 product
- techdocs-common< 0.6.3
Backstage1 product
- backstage< 0.6.3
3 vendors · 4 products
References
4 links- github.com/backstage/backstage/security/advisories/GHSA-pgf8-28gg-vpr6X Refsource CONFIRMWEBThird Party Advisory
- github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208X Refsource MISCWEBPatchThird Party Advisory
- github.com/backstage/backstage/releases/tag/release-2021-05-27X Refsource MISCWEBRelease NotesThird Party Advisory