{"id":"CVE-2021-40978","details":"The mkdocs 1.2.2 built-in dev-server allows directory traversal using the port 8000, enabling remote exploitation to obtain :sensitive information. NOTE: the vendor has disputed this as described in https://github.com/mkdocs/mkdocs/issues/2601.] and https://github.com/nisdn/CVE-2021-40978/issues/1","aliases":["GHSA-qh9q-34h6-hcv9","PYSEC-2021-878"],"modified":"2026-07-08T23:57:51.083105Z","published":"2021-10-07T14:15:08.280Z","references":[{"type":"ADVISORY","url":"https://github.com/mkdocs/mkdocs"},{"type":"REPORT","url":"https://github.com/mkdocs/mkdocs/issues/2601"},{"type":"REPORT","url":"https://github.com/nisdn/CVE-2021-40978/issues/1"},{"type":"EVIDENCE","url":"https://github.com/nisdn/CVE-2021-40978"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mkdocs/mkdocs","events":[{"introduced":"52ed45a58cbec0d9860d13e5ac123d6fd14aeca6"},{"last_affected":"52ed45a58cbec0d9860d13e5ac123d6fd14aeca6"}],"database_specific":{"cpe":"cpe:2.3:a:mkdocs:mkdocs:1.2.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.2.2"},{"last_affected":"1.2.2"}],"source":"CPE_STRING"}}],"versions":["1.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40978.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}