CVE-2026-123198
critical · 9.3LMFDB before commit 01829bd contains a server-side template injection vulnerability in the render_knowl function that allows unauthenticated attackers to inject Jinja expressions via request parameters. Attackers can supply crafted query-string values or 'content' data to /knowledge/render/<ID> to reach Python builtins and execute operating system commands as the web application account.
9.3
CVSS
0.8%
EPSS (exploit prob.)
59th
EPSS percentile
2026-11-05
Published
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weaknesses
CWE-1336
References
- https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747
- https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4
- https://github.com/LMFDB/lmfdb/pull/7231
- https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww
- https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id
- https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2026-123198