CVE-2026-61632
Last modified
CVE-2026-61632 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. PyMdown Extensions is a set of extensions for the Python-Markdown markdown project. In versions up to and including 10.21.3, the b64 extension is vulnerable to a path traversal that discloses arbitrary files: it inlines images referenced by <img src="..."> by joining the src onto the configured base_path with os.path.normpath and opening the result directly, without verifying that the resolved path stays inside base_path. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
PyMdown Extensions is a set of extensions for the Python-Markdown markdown project. In versions up to and including 10.21.3, the b64 extension is vulnerable to a path traversal that discloses arbitrary files: it inlines images referenced by <img src="..."> by joining the src onto the configured base_path with os.path.normpath and opening the result directly, without verifying that the resolved path stays inside base_path. As a result, an src containing ../ sequences or an absolute path reads a file outside base_path as long as it has an allowed image extension (.png, .jpg, .jpeg, .gif, .svg), and the file's contents are then base64-encoded into the rendered output, disclosing them. An application that renders untrusted Markdown with pymdownx.b64 enabled can therefore leak the contents of image-extension files readable by the process to whoever controls the Markdown or views the output, a targeted file-read bounded by the extension check. This issue has been fixed in version 11.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| facelessuser | pymdown-extensions | < 11.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-61632?
How severe is CVE-2026-61632?
How do I fix CVE-2026-61632?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61606Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-61609Pterodactyl is a free, open-source game server management pa…7.5
- CVE-2026-6161A vulnerability was determined in code-projects Simple ChatB…7.3
- CVE-2026-61613Cursor is a code editor built for programming with AI. Prior…7.7
- CVE-2026-6162A vulnerability has been found in PHPGurukul Company Visitor…3.5
- CVE-2026-6163A vulnerability was identified in code-projects Lost and Fou…7.3
- CVE-2026-6164A security flaw has been discovered in code-projects Lost an…7.3
- CVE-2026-61643FastGPT is a knowledge-based AI application platform. From 4…5.9
- CVE-2026-61644FastGPT is a knowledge-based AI application platform. From 4…7.7
- CVE-2026-61646FastGPT is a knowledge-based AI application platform. Prior …6.3
- CVE-2026-6165A weakness has been identified in code-projects Vehicle Show…7.3
- CVE-2026-6166A security vulnerability has been detected in code-projects …7.3
Are you affected by CVE-2026-61632?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
