CVE catalog

CVE-2021-40978

python-mkdocs: CVE-2021-40978

[CVE catalog]

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
15.10% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-mkdocssid1.6.1+dfsg1-5vulnerable
Debianpython-mkdocsforky1.6.1+dfsg1-5vulnerable
Debianpython-mkdocstrixie1.6.1+dfsg1-2vulnerable
Debianpython-mkdocsbookworm1.4.2+dfsg-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-mkdocssourcesid(unfixed)unimportantNot reportedNot reported
Debianpython-mkdocssourceforky(unfixed)unimportantNot reportedNot reported
Debianpython-mkdocssourcetrixie(unfixed)unimportantNot reportedNot reported
Debianpython-mkdocssourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [mkdocs]Affected

    Source package: [python-mkdocs]

    Details (2)
    • 1.4.2+dfsg-2 · all · bookworm

      Affected

      dsa · python-mkdocs · debian · bookworm; dsa · python-mkdocs · debian · 12

    • 1.4.2+dfsg-2 · all · bookworm

      Affected

      dsa · python-mkdocs · debian · bookworm; dsa · python-mkdocs · debian · 12

  • [mkdocs-doc]Affected

    Source package: [python-mkdocs]

    Details (2)
    • 1.4.2+dfsg-2 · all · bookworm

      Affected

      dsa · python-mkdocs · debian · bookworm; dsa · python-mkdocs · debian · 12

    • 1.4.2+dfsg-2 · all · bookworm

      Affected

      dsa · python-mkdocs · debian · bookworm; dsa · python-mkdocs · debian · 12

[Debian 13 (Trixie)]

  • [mkdocs]Affected

    Source package: [python-mkdocs]

    Details (2)
    • 1.6.1+dfsg1-2 · all · trixie

      Affected

      dsa · python-mkdocs · debian · 13

    • 1.6.1+dfsg1-2 · all · trixie

      Affected

      dsa · python-mkdocs · debian · 13

  • [mkdocs-doc]Affected

    Source package: [python-mkdocs]

    Details (2)
    • 1.6.1+dfsg1-2 · all · trixie

      Affected

      dsa · python-mkdocs · debian · 13

    • 1.6.1+dfsg1-2 · all · trixie

      Affected

      dsa · python-mkdocs · debian · 13

Observed:

References