Path Traversal Vulnerability in PyMdown Extensions for Python-Markdown
CVE-2026-61632

5.3MEDIUM

Key Information:

Vendor
CVE Published:
6 August 2026

What is CVE-2026-61632?

A vulnerability exists in the PyMdown Extensions for Python-Markdown, specifically the b64 extension, where improper path handling allows attackers to exploit a path traversal issue. This vulnerability enables unauthorized access to arbitrary files by manipulating the src attribute of tags, allowing the inclusion of files located outside the designated base path. Files with certain image extensions can be read and their contents base64-encoded, potentially exposing sensitive information to users controlling the Markdown input. The issue has been resolved in version 11.0.

Affected Version(s)

pymdown-extensions < 11.0

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.