Paper/Archive/CVE-2026-123198

CVE-2026-123198

LMFDB LMFDB — LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
LMFDB< 01829bd09b692c720aad30c952758a20630573d401829bd09b692c720aad30c952758a20630573d4CNA

Scores by source

VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xwwpatchgithub.com/LMFDB/lmfdb/pull/7231patchgithub.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4writeupgithub.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747writeupvulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id