CVE-2026-106505: Mkdocs Config Allowlist Includes Extra Templates

The MkDocs configuration sanitizer allowlist contains 'extra_templates'. MkDocs consumes extra_templates entries as arbitrary template file paths (not restricted to docs_dir) and renders them with its non-sandboxed Jinja2 engine during `mkdocs build`. Preserving this key from an untrusted, repo-committed mkdocs.yml defeats the sanitizer (CVE-2026-25153 harde

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-106505-mkdocs-config-allowlist-includes-extra-templates --engine opengrep

Description

The MkDocs configuration sanitizer allowlist contains 'extra_templates'. MkDocs consumes extra_templates entries as arbitrary template file paths (not restricted to docs_dir) and renders them with its non-sandboxed Jinja2 engine during `mkdocs build`. Preserving this key from an untrusted, repo-committed mkdocs.yml defeats the sanitizer (CVE-2026-25153 harde