Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmf
- https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4
- https://github.com/LMFDB/lmfdb/pull/7231
- https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww
- https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated
- https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww
FAQ
What is CVE-2026-123198?
CVE-2026-123198 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 parameter...
How severe is CVE-2026-123198?
CVE-2026-123198 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-123198?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.