Medium severity · published Jun 3, 2021
CVE-2021-32662
Backstage is an open platform for building developer portals, and techdocs-common contains common functionalities for Backstage's TechDocs
6.5
CVSS
1.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BA
Backstage · Linuxfoundation
before 0.6.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-32662
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-32662
Patch
https://github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208
Release Notes
https://github.com/backstage/backstage/releases/tag/release-2021-05-27
Third Party Advisory
https://github.com/backstage/backstage/security/advisories/GHSA-pgf8-28gg-vpr6
More from Backstage
9.9
CVE-2026-106486
Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions
9.9
CVE-2023-35926
Backstage is an open platform for building developer portals
9.6
CVE-2026-106501
Backstage: Sensitive information exposure in Scaffolder
8.8
CVE-2026-106558
Backstage: Improper validation of TechDocs MkDocs configuration
8.8
CVE-2026-106509
Backstage: Improper validation of MkDocs theme configuration in TechDocs
