Skip to main content
Public proof of conceptFix availableAwaiting NVD analysis

CVE-2026-61632

A public proof of concept exists; no exploitation attested.

  • Published2026-08-06
  • Fixed in11.0.0
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-08-0622:18CVE publishedNVD

Versions per branch

OSV
pymdown-extensions
BranchAffectedFixed in
11.0< 11.0.011.0.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • facelessuser pymdown-extensions
    Affected
    • = < 11.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-08-06

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • open-webuiWolfiall versions · fixed in 0.11.0-r6
  • open-webuiChainguardall versions · fixed in 0.11.0-r6
  • pymdown-extensionsDebian:14all versions · fixed in 11.0.1-1
  • pymdown-extensionsDebian:13all versions · no fixed version listed
  • pymdown-extensionsDebian:12all versions · no fixed version listed
  • python-pymdown-extensionsopenEuler:24.03-LTS-SP4all versions · fixed in 10.7-3.oe2403sp4
  • python-pymdown-extensionsopenEuler:24.03-LTS-SP3all versions · fixed in 10.7-3.oe2403sp3
  • python-pymdown-extensionsopenEuler:24.03-LTS-SP1all versions · fixed in 10.7-3.oe2403sp1

Vendor advisories

  • CVE-2026-61632 Red Hat Product Security3 known affected

    pymdown-extensions: PyMdown Extensions: Information disclosure via path traversal in b64 extension

    rhdh/rhdh-hub-rhel9 as a component of Red Hat Developer Hub 1 · openshift4/ose-olm-catalogd-rhel9 as a component of Red Hat OpenShift Container Platform 4 · ansible-automation-platform/bootc-automation-portal-rhel9 as a component of Self-service automation portal 2

Full record on NVD

Fix

  1. Update pymdown-extensions to 11.0.0
  2. No fix available, says the vendor Red Hat Product Security CVE-2026-61632 · 3 productsFix deferred

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-25
  • CISA-ADPSSVC decisionpoc2026-08-07
  • CNACVSS 3.15.3known since 2026-10-25
  • CNAweakness (CWE)CWE-22known since 2026-10-25
  • FIRST EPSSEPSS score0.4 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2026-07-24

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
2026-08-06
Last modified
2026-10-24
NVD status
Awaiting Analysis
GitHub advisory
GHSA-9xwg-3r6f-jcx2

Frequently asked questions

What is CVE-2026-61632?

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.

Is CVE-2026-61632 actively exploited?

A proof-of-concept exploit exists for CVE-2026-61632, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-61632?

CVE-2026-61632 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Running pymdown-extensions? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record