CVE-2026-123198
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.
How to fix
- LMFDB LMFDB01829bd09b692c720aad30c952758a20630573d4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| LMFDB LMFDB | v < 01829bd09b692c720aad30c952758a20630573d4 | 01829bd09b692c720aad30c952758a20630573d4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.