CVEBrief

Home / facelessuser / pymdown-extensions / CVE-2023-32309

CVE-2023-32309: is it exploited, and which versions of facelessuser pymdown-extensions are affected and fixed?

CVE-2023-32309 is a path traversal (reading or writing files outside the intended folder) vulnerability in facelessuser pymdown-extensions. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: pymdown-extensions from 1.5 before 10.0 (GitHub advisory GHSA-jh85-wwv9-24hv). Fixed in 10.0 (GitHub advisory GHSA-jh85-wwv9-24hv). Severity: High (7.5, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:38 UTC
Affected
pymdown-extensions from 1.5 before 10.0
GitHub advisory GHSA-jh85-wwv9-24hv
Fixed in
10.0
GitHub advisory GHSA-jh85-wwv9-24hv
Severity
High 7.5
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.66% in 30 days
higher than 77% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-32309?

Arbitrary file inclusion with the pymdowm-snippets extension

PyMdown Extensions is a set of extensions for the `Python-Markdown` markdown project. In affected versions an arbitrary file read is possible when using include file syntax. By using the syntax `--8<--"/etc/passwd"` or `--8<--"/proc/self/environ"` the content of these files will be rendered in the generated documentation. Additionally, a path relative to a specified, allowed base path can also be used to render the content of a file outside the specified base paths: `--8<-- "../../../../etc/passwd"`. Within the Snippets extension, there exists a `base_path` option but the implementation is vulnerable to Directory Traversal. The vulnerable section exists in `get_snippet_path(self, path)` lines 155 to 174 in snippets.py. Any readable file on the host where the plugin is executing may have its content exposed. This can impact any use of Snippets that exposes the use of Snippets to external users. It is never recommended to use Snippets to process user-facing, dynamic content. It is designed to process known content on the backend under the control of the host, but if someone were to accidentally enable it for user-facing content, undesired information could be exposed. This issue has been addressed in version 10.0. Users are advised to upgrade. Users unable to upgrade may restrict relative paths by filtering input.

From the CVE record by GitHub_M, last updated January 22, 2025, 21:41 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
facelessuserpymdown-extensions>= 1.5, < 10.0

As the CVE record by GitHub_M states it, last updated January 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIpymdown-extensions>= 1.5, < 10.010.0GHSA-jh85-wwv9-24hv

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 24, 2023. Summary: Any file can be included with the pymdown-snippets extension.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
facelessuserpymdown extensionsfrom 1.5.0 before 10.0application

NVD analysis (status Modified), last modified June 17, 2026, 05:58 UTC.

How severe is CVE-2023-32309?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-32309 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, January 22, 2025)
EPSS
1.66% probability of exploitation activity in the next 30 days, percentile 77.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 8, 2023
Published
May 15, 2023, 20:42 UTC
CVE record updated
January 22, 2025, 21:41 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 05:58 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect pymdown-extensions?

Every CVE in pymdown-extensions

Questions about CVE-2023-32309

Is CVE-2023-32309 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.66% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of facelessuser pymdown-extensions are affected by CVE-2023-32309?

pymdown-extensions from 1.5 before 10.0, per the GitHub advisory GHSA-jh85-wwv9-24hv. The tables above give every range the sources list.

Which version fixes CVE-2023-32309?

10.0, per the GitHub advisory GHSA-jh85-wwv9-24hv. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-32309?

High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2023-32309?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.