
CVE catalog
CVE-2021-40978
python-mkdocs: CVE-2021-40978
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-mkdocs | sid | 1.6.1+dfsg1-5 | vulnerable |
| Debian | python-mkdocs | forky | 1.6.1+dfsg1-5 | vulnerable |
| Debian | python-mkdocs | trixie | 1.6.1+dfsg1-2 | vulnerable |
| Debian | python-mkdocs | bookworm | 1.4.2+dfsg-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-mkdocs | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | python-mkdocs | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | python-mkdocs | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | python-mkdocs | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [mkdocs]Affected
Source package: [python-mkdocs]
Details (2)
1.4.2+dfsg-2· all · bookwormAffected
dsa · python-mkdocs · debian · bookworm; dsa · python-mkdocs · debian · 12
1.4.2+dfsg-2· all · bookwormAffected
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 · bookwormAffected
dsa · python-mkdocs · debian · bookworm; dsa · python-mkdocs · debian · 12
1.4.2+dfsg-2· all · bookwormAffected
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 · trixieAffected
dsa · python-mkdocs · debian · 13
1.6.1+dfsg1-2· all · trixieAffected
dsa · python-mkdocs · debian · 13
- [mkdocs-doc]Affected
Source package: [python-mkdocs]
Details (2)
1.6.1+dfsg1-2· all · trixieAffected
dsa · python-mkdocs · debian · 13
1.6.1+dfsg1-2· all · trixieAffected
dsa · python-mkdocs · debian · 13
Observed: