CVE-2026-46338
A public proof of concept exists; no exploitation attested.
- Published2026-07-16
- Fixed in10.21.3
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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. From 10.0.1 until 10.21.3, pymdownx.snippets uses a string-prefix containment check in SnippetPreprocessor.get_snippet_path() in pymdownx/snippets.py when `restrict_base_path: True`, allowing markdown snippet directives to read files from sibling paths that share the same base_path prefix, such as docs and docs_internal. This is a regression of CVE-2023-32309. This issue is fixed in version 10.21.3.
Timeline
dates in UTC- 2026-07-1619:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.x | ≥ 10.0.1, < 10.21.3 | 10.21.3 | NVD · OSV |
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-extensionsAffected
- = >= 10.0.1, < 10.21.3no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-07-16
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.9.6-r1
- open-webuiChainguardall versions · fixed in 0.9.6-r1
- pymdown-extensionsUbuntu:26.10all versions · no fixed version listed
- pymdown-extensionsUbuntu:26.04:LTSall versions · no fixed version listed
- pymdown-extensionsUbuntu:24.04:LTSall versions · no fixed version listed
- pymdown-extensionsRoot:PyPIall versions · fixed in 10.21.2+aikido.2
- pymdown-extensionsRoot:PyPIall versions · fixed in 10.21.2+aikido.1
- pymdown-extensionsDebian:14all versions · fixed in 11.0.1-1
5 more package ranges on OSV.dev
Vendor advisories
pymdown-extensions: PyMdown Extensions: Information disclosure via crafted Markdown snippets
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
Fix
- Update Facelessuser pymdown extensions to 10.21.3
- Workaround from the vendor Red Hat Product Security CVE-2026-46338 · 3 productsEnsure that untrusted Markdown content is not processed by the pymdownx.snippets extension. If the snippets feature is not required, it can be disabled in the MkDocs or Python-Markdown configuration.
- No fix available, says the vendor Red Hat Product Security CVE-2026-46338 · 3 productsFix deferred
Advisories and patches
- github.comPatch
- github.comRelease Notes
- github.comMitigation · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-07-17
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-25
- CISA-ADPSSVC decisionpoc2026-07-17
- CNACVSS 3.14.3known since 2026-10-25
- CNAweakness (CWE)CWE-22known since 2026-10-25
- FIRST EPSSEPSS score0.3 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2026-05-19
Identifiers
- CGA-47mm-fjp6-m96psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6c9h-qh72-cr7jsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-45003same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-62q4-447f-wv8hsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2026-2999same flawPyPA Advisory Database · CC-BY-4.0
- OESA-2026-4182advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4183advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4184advisory covering several CVEsopenEuler · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- Published
- 2026-07-16
- Last modified
- 2026-10-24
- NVD status
- Analyzed
- GitHub advisory
- GHSA-62q4-447f-wv8h
Frequently asked questions
What is CVE-2026-46338?
Is CVE-2026-46338 actively exploited?
What is the CVSS score for CVE-2026-46338?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-111497KEVsame productOut-of-Bounds Write in Google Brotli Decoder
- CVE-2026-45829same product
- CVE-2026-21441same product
- CVE-2026-24486same product
- CVE-2025-6984same product
- CVE-2026-112403same productPillow: Heap buffer overflow in ImagingJpegDecode
- CVE-2023-32309same product
- CVE-2026-33231same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-62q4-447f-wv8h
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0