Vulnerability in Lmfdb
CVE-2026-123198
LMFDB 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/know… (technical-description)
- github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4 (patch)
- github.com/LMFDB/lmfdb/pull/7231 (issue-tracking, patch)
- GitHub Security Advisory (GHSA-6jw3-pmcx-2xww) (vendor-advisory)
- VulnCheck Advisory: LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID> (third-party-advisory)
Frequently asked questions
- What is CVE-2026-123198?
- CVE-2026-123198 is a critical-severity vulnerability in Lmfdb, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 9.8/10. Published 2026-11-05.
- How severe is CVE-2026-123198?
- Critical severity. CVSS v3 base score is 9.8 out of 10.