[ CVE-2026-123198 · Published 5 Nov 2026 ]
Vulnerability in LMFDB
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
- Critical severity: CVSS 9.8
[ Description ]Official description
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.
[ Fixes ]How to fix it
Fixed versions
- LMFDB: upgrade to 01829bd09b692c720aad30c952758a20630573d4 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
- Patchgithub.com
Until you can patch: our advice
- Limit the feature that runs commands. This is an injection flaw that can run commands or code. If the affected feature or endpoint can be switched off, switch it off; limit the admin interface to trusted addresses; and watch for unexpected processes started by the service.
- Keep it off the internet. It can be attacked over the network without an account. Until you have patched, make sure the affected service is not reachable from the internet: close the port, or put it behind a VPN or a firewall allow-list.
[ References ]References
- github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/ma…
- github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4
- github.com/LMFDB/lmfdb/pull/7231
- github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww
- www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-te…