Advisory

PYSEC-2021-878

Also known as: CVE-2021-40978, GHSA-qh9q-34h6-hcv9

Summary

The record has no summary.

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

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2021-10-07 14:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

mkdocs

PyPI · All systems

Affected

  • introduced 1.2.2, fixed 1.2.3 (ecosystem)

Fixed versions

1.2.3

Fix

  • Fixed version 1.2.3
    pip install --upgrade mkdocs==1.2.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences