CVE-2026-123198: LMFDB · Template Injection
Affects LMFDBSource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical : upgrade to 01829bd09b692c720aad30c952758a20630573d4 as a priority.
Data as of 5 Nov 2026, 20:17 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 9.8 |
- Patch
- Available – fixed in 01829bd09b692c720aad30c952758a20630573d4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade LMFDB to 01829bd09b692c720aad30c952758a20630573d4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LMFDBLMFDB | Affected
| Fixed in
|
GitHubLMFDBpkg:github/LMFDBOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official fix by updating LMFDB to include commit 01829bd09b692c720aad30c952758a20630573d4 or later. This patch addresses the server-side template injection vulnerability in the render_knowl function. Until patched, restrict access to the affected endpoint if possible.
Description
LMFDB versions before commit 01829bd contain a server-side template injection vulnerability in the render_knowl function. This flaw allows unauthenticated attackers to inject Jinja template expressions via request parameters, enabling access to Python builtins and execution of operating system commands with the web application account privileges. The vulnerability is critical with a CVSS 4.0 score of 9.3 and has been fixed in commit 01829bd09b692c720aad30c952758a20630573d4.
References
- github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww (opens in a new tab)
- github.com/LMFDB/lmfdb/pull/7231 (opens in a new tab)
- github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4 (opens in a new tab)
- github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py (opens in a new tab)
- vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id (opens in a new tab)