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.36% 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
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
- Awaiting Analysis
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-6162A vulnerability has been found in PHPGurukul Company Visitor…3.5
- CVE-2026-61625VictoriaMetrics is a scalable solution for monitoring and ma…6.8
- CVE-2026-61628nginx ignition is a user interface for the nginx web server.…8.1
- CVE-2026-61629nginx ignition is a user interface for the nginx web server.…7.5
- CVE-2026-6163A vulnerability was identified in code-projects Lost and Fou…7.3
- CVE-2026-61630nginx ignition is a user interface for the nginx web server.…4.2
- CVE-2026-61633NanoMQ is an MQTT broker. Prior to 0.24.14, the NanoMQ clien…2
- CVE-2026-61634The RabbitMQ Java client library allows Java and JVM-based a…0
- CVE-2026-61638Wallos is an open-source, self-hostable personal subscriptio…8.2
- CVE-2026-61639Wallos is an open-source, self-hostable personal subscriptio…8.5
- CVE-2026-6164A security flaw has been discovered in code-projects Lost an…7.3
- CVE-2026-61640Wallos is an open-source, self-hostable personal subscriptio…8.5
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
