PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-61632 facelessuser CVE debrief

CVE-2026-61632 is a path traversal vulnerability in PyMdown Extensions, a set of extensions for the Python-Markdown markdown project. The vulnerability allows an attacker to disclose arbitrary files by inlining images referenced by <img src='...'>. The issue has been fixed in version 11.0. Affected product deployments should be assessed for exposure, and defenders should prioritize remediation. The vulnerability is caused by the b64 extension 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.

Vendor
facelessuser
Product
pymdown-extensions
CVSS
MEDIUM 5.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-06
Original CVE updated
2026-09-10
Advisory published
2026-08-06
Advisory updated
2026-09-10

Who should care

Defenders responsible for systems rendering untrusted Markdown with pymdownx.b64 enabled should assess exposure and prioritize remediation. This includes operators, platform administrators, vulnerability management teams, and security teams who need to review the affected scope, severity, and vendor guidance to validate exposure and plan remediation efforts.

Why it matters

CVE-2026-61632 is a path traversal vulnerability in PyMdown Extensions that allows an attacker to disclose arbitrary files. Defenders responsible for systems rendering untrusted Markdown with pymdownx.b64 enabled should assess exposure and prioritize remediation.

  • Targeted file-read bounded by the extension check
  • Potential disclosure of sensitive information

Technical summary

The b64 extension in PyMdown Extensions is vulnerable to a path traversal attack, allowing an attacker to disclose arbitrary files. The issue is caused by the extension 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. The vulnerability can be exploited by inlining images referenced by <img src='...'>, which can lead to the disclosure of arbitrary files with allowed image extensions (.png, .jpg, .jpeg, .gif, .svg).

Defensive priority

Assess exposure and prioritize remediation for systems rendering untrusted Markdown with pymdownx.b64 enabled.

Recommended defensive actions

  • Assess exposure and prioritize remediation for systems rendering untrusted Markdown with pymdownx.b64 enabled
  • Verify if the current version of PyMdown Extensions is vulnerable
  • Consider upgrading to version 11.0 or later
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by the b64 extension 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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-61632 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-61632

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-61632 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61632

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.