Read the docs
TI-2021-17853 Aliases CVE-2021-40978GHSA-qh9q-34h6-hcv9

The mkdocs 1.2.2 built-in dev-server allows directory traversal using the port 8000…

Priority HIGH 66CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

Summary

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.14984 96th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed mkdocs (PyPI): 1.2.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—mkdocs (PyPI)1.2.2 to before 1.2.31.2.3Patch availableGHSA-qh9q-34h6-hcv9
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • mkdocs (PyPI) Vendor— Affected 1.2.2 to before 1.2.3 Fixed in 1.2.3 Patch available GHSA-qh9q-34h6-hcv9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mkdocs:mkdocs:1.2.2:*:*:*:*:*:*:*1.2.2VulnerableMkdocs
  • cpe:2.3:a:mkdocs:mkdocs:1.2.2:*:*:*:*:*:*:* Versions 1.2.2 Vulnerable ·Mkdocs

Remediation

  • Fix · GHSA-qh9q-34h6-hcv9 mkdocs (PyPI) Fixed in 1.2.3 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-40978
  2. 2026-10-03 Alias added: GHSA-qh9q-34h6-hcv9

References

Sources