CVE-2026-123198
LMFDB before commit 01829bd contains a server-side template …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.
- 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-templ
- nvd.nist.gov/vuln/detail/CVE-2026-123198
- cve.org/CVERecord?id=CVE-2026-123198
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.