CVE-2021-32662: backstage Path Traversal
Vulnerability summary
CVE-2021-32662 is a medium (CVSS 6.5) Path Traversal vulnerability in backstage. EPSS estimates a 1.28% chance of exploitation in the next 30 days, higher than 69.5% of scored vulnerabilities.
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
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.28% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@backstage1 product
- techdocs-common< 0.6.3
Backstage1 product
- backstage< 0.6.3
Linuxfoundation1 product
- backstage< 0.6.3
3 vendors · 3 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