{"cve":"CVE-2021-32662","nvd":{"published":"2021-06-03T22:15:07.873","modified":"2026-06-17T03:53:22.383","status":"Undergoing Analysis","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-22"],"references":["https://github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208","https://github.com/backstage/backstage/releases/tag/release-2021-05-27","https://github.com/backstage/backstage/security/advisories/GHSA-pgf8-28gg-vpr6","https://github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208","https://github.com/backstage/backstage/releases/tag/release-2021-05-27"],"products":["linuxfoundation:backstage"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-32662","score":0.0128,"percentile":0.70032,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pgf8-28gg-vpr6","url":"https://osv.dev/vulnerability/GHSA-pgf8-28gg-vpr6","summary":"Path traversal","modified":"2026-07-08T06:53:06.826039376Z","packages":[{"ecosystem":"npm","name":"@backstage/techdocs-common","purl":"pkg:npm/%40backstage/techdocs-common","ranges":["<0.6.3"],"fixed":["0.6.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}