{"items":[{"id":"NVI-00015249","kind":"vulnerability","title":"PyMdown Extensions: Path traversal in the b64 extension lets  read files outside base_path","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-9xwg-3r6f-jcx2","CVE-2026-61632"],"plain_summary":"GitHub lists this reviewed advisory for pymdown-extensions. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-5df25c9537a772b374c6724634914680"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-24T16:18:34.000Z","value":"5.3 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-4903cec9b7f806f065bd92bddb4b7ec5"},{"kind":"CVSS","as_of":"2026-10-24T16:10:00.153Z","value":"5.3 MEDIUM (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-5df25c9537a772b374c6724634914680"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-4903cec9b7f806f065bd92bddb4b7ec5","url":"https://github.com/advisories/GHSA-9xwg-3r6f-jcx2","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-9xwg-3r6f-jcx2","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:59:13.529Z"},{"id":"sr-5df25c9537a772b374c6724634914680","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61632","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-61632","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-08T15:05:24.474Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4903cec9b7f806f065bd92bddb4b7ec5"],"technology":"pymdown-extensions","known_exclusions":[],"conditions_summary":"### Summary\n\nThe `b64` extension inlines images referenced by `` as base64 data URIs. When resolving the `src` path it joins it onto the configured `base_path` with `os.path.normpath` and opens the result directly, with no check that the resolved path stays inside `base_path`. A `src` containing `../` sequences, or an absolute path, therefore reads a file outside `base_path` as long as that file has an allowed image extension (`.png`, `.jpg`, `.jpeg`, `.gif`, `.svg`). The base64 of that file is then embedded in the rendered output, disclosing its contents.\n\nThis is a separate code path from the `snippets` traversal issues (GHSA-jh85-wwv9-24hv, GHSA-62q4-447f-wv8h). It lives in `pymdownx/b64.py` and has no path restriction of any kind. Confirmed on `10.21.3` installed from PyPI.\n\n### Details\n\nIn `pymdownx/b64.py`, function `repl_path` (around lines 68 to 90 on `main`):\n\n```python\nif is_absolute:\n    file_name = os.path.normpath(path)                          # absolute src: base_path ignored entirely\nelse:\n    file_name = os.path.normpath(os.path.join(base_path, path)) # relative src: '../' escapes base_path\nif os.path.exists(file_name):\n    ext = os.path.splitext(fil","public_affected_ranges":["<= 10.21.3"]}],"null_published_at":"2026-11-08T19:53:44.060Z","source_updated_at":"2026-07-24T16:18:34.000Z","source_disclosed_at":"2026-07-24T16:18:33.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-11-03T09:59:13.529Z"},{"id":"NVI-00015249","kind":"vulnerability","title":"PyMdown Extensions: Path traversal in the b64 extension lets  read files outside base_path","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-9xwg-3r6f-jcx2","CVE-2026-61632"],"plain_summary":"GitHub lists this reviewed advisory for pymdown-extensions. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-4903cec9b7f806f065bd92bddb4b7ec5"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-24T16:18:34.000Z","value":"5.3 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-4903cec9b7f806f065bd92bddb4b7ec5"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-4903cec9b7f806f065bd92bddb4b7ec5","url":"https://github.com/advisories/GHSA-9xwg-3r6f-jcx2","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-9xwg-3r6f-jcx2","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:59:13.529Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4903cec9b7f806f065bd92bddb4b7ec5"],"technology":"pymdown-extensions","known_exclusions":[],"conditions_summary":"### Summary\n\nThe `b64` extension inlines images referenced by `` as base64 data URIs. When resolving the `src` path it joins it onto the configured `base_path` with `os.path.normpath` and opens the result directly, with no check that the resolved path stays inside `base_path`. A `src` containing `../` sequences, or an absolute path, therefore reads a file outside `base_path` as long as that file has an allowed image extension (`.png`, `.jpg`, `.jpeg`, `.gif`, `.svg`). The base64 of that file is then embedded in the rendered output, disclosing its contents.\n\nThis is a separate code path from the `snippets` traversal issues (GHSA-jh85-wwv9-24hv, GHSA-62q4-447f-wv8h). It lives in `pymdownx/b64.py` and has no path restriction of any kind. Confirmed on `10.21.3` installed from PyPI.\n\n### Details\n\nIn `pymdownx/b64.py`, function `repl_path` (around lines 68 to 90 on `main`):\n\n```python\nif is_absolute:\n    file_name = os.path.normpath(path)                          # absolute src: base_path ignored entirely\nelse:\n    file_name = os.path.normpath(os.path.join(base_path, path)) # relative src: '../' escapes base_path\nif os.path.exists(file_name):\n    ext = os.path.splitext(fil","public_affected_ranges":["<= 10.21.3"]}],"null_published_at":"2026-11-03T10:03:26.564Z","source_updated_at":"2026-07-24T16:18:34.000Z","source_disclosed_at":"2026-07-24T16:18:33.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T09:59:13.529Z"}],"next_cursor":null,"snapshot_revision":"42594"}