5.3

CVE-2026-61632: PyMdown Extensions: Path traversal in the b64 extension lets <img src> read files outside base_path

Awaiting analysis
AliasesGHSA-9xwg-3r6f-jcx2PYSEC-2026-3609UBUNTU-CVE-2026-61632
Published 06-08-2026Last modified 07-08-2026

Vulnerability summary

CVE-2026-61632 is a medium (CVSS 5.3) vulnerability in facelessuser pymdown-extensions. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 06-08-2026
    PublishedVulnerability first disclosed.
  2. 07-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.40% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu2 products
  • markdownAll versions (No fix recorded)
  • python-markdownAll versions (No fix recorded)
Chainguard1 product
  • open-webui< 0.11.0-r6
Debian1 product
  • pymdown-extensionsAll versions (No fix recorded) | < 11.0.1-1
Facelessuser1 product
PyPI1 product
  • pymdown-extensions< 11.0.0
Wolfi1 product
  • open-webui< 0.11.0-r6

6 vendors · 7 products

References

11 links
Show all 11 references