{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32662","published":"2021-06-03T22:15:07.873000Z","last_modified":"2026-11-17T20:21:37.840000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:linuxfoundation:backstage\\/techdocs-common:*:*:*:*:*:node.js:*:*","part":"a","vendor":"linuxfoundation","product":"backstage/techdocs-common","version_end_excluding":"0.6.3"}],"cpes_truncated":false,"vendors":["linuxfoundation"],"products":["linuxfoundation/backstage-techdocs-common"],"epss":{"score":0.0128,"percentile":0.70104,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pgf8-28gg-vpr6","ecosystem":"npm","name":"@backstage/techdocs-common","purl":"pkg:npm/%40backstage/techdocs-common","ranges":[{"introduced":"0","fixed":"0.6.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-32662/","html_en":"/en/cve/CVE-2021-32662/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32662","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32662"},"untrusted":{"vendor_name":"Linuxfoundation","product_name":"Backstage/techdocs-common","desc_en":"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`.","affected":[{"untrusted_vendor":"backstage","untrusted_product":"backstage","versions":[]}],"references":[{"url":"https://github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/backstage/backstage/releases/tag/release-2021-05-27","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-pgf8-28gg-vpr6","tags":["Third Party Advisory"]}]}}