PT-2026-137645
CVE-2026-123198
·
Published
2026-11-05
·
Updated
2026-11-06
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
LMFDB versions prior to commit 01829bd
Description
An issue exists in the
render knowl() function that allows unauthenticated attackers to perform server-side template injection. By providing crafted query-string values or content data to the '/knowledge/render/' endpoint, attackers can inject Jinja expressions to access Python builtins and execute operating system commands with the privileges of the web application account.Recommendations
Update to commit 01829bd or a newer version.
As a temporary workaround, restrict access to the '/knowledge/render/' endpoint.
Found an issue in the description? Have something to add? Feel free to write us 👾