Path Traversal in Mkdocs

CVE-2021-40978

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

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.151 (96.7th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-40978: held from 0.151 to 0.151.

EPSS over last 30 days · oldest: 0.151 · newest: 0.151 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-40978?
CVE-2021-40978 is a high-severity vulnerability in Mkdocs, classified under Path Traversal. CVSS score: 7.5/10. Published 2021-10-07.
How severe is CVE-2021-40978?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2021-40978 known to be exploited?
24 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.