{"cve":"CVE-2021-40978","nvd":{"published":"2021-10-07T14:15:08.280","modified":"2026-06-17T04:07:42.017","status":"Modified","description":"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","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/mkdocs/mkdocs","https://github.com/mkdocs/mkdocs/issues/2601","https://github.com/nisdn/CVE-2021-40978","https://github.com/nisdn/CVE-2021-40978/issues/1","https://github.com/mkdocs/mkdocs"],"products":["mkdocs:mkdocs"],"source":"nvd","synced_at":"2026-10-19T21:23:41.316049955+00:00"},"epss":{"cve":"CVE-2021-40978","score":0.15103,"percentile":0.96736,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qh9q-34h6-hcv9","url":"https://osv.dev/vulnerability/GHSA-qh9q-34h6-hcv9","summary":"Directory traversal in mkdocs","modified":"2024-10-01T19:21:31Z","packages":[{"ecosystem":"PyPI","name":"mkdocs","purl":"pkg:pypi/mkdocs","ranges":[">=1.2.2 <1.2.3"],"fixed":["1.2.3"]}]},{"id":"PYSEC-2021-878","url":"https://osv.dev/vulnerability/PYSEC-2021-878","summary":"","modified":"2026-06-10T17:02:16.308115975Z","packages":[{"ecosystem":"PyPI","name":"mkdocs","purl":"pkg:pypi/mkdocs","ranges":[">=1.2.2 <1.2.3"],"fixed":["1.2.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."]}