{"id":"CVE-2026-123198","summary":"LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/\u003cID\u003e","details":"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/\u003cID\u003e to reach Python builtins and execute operating system commands as the web application account.","aliases":["GHSA-6jw3-pmcx-2xww"],"modified":"2026-11-05T21:32:49.834885490Z","published":"2026-11-05T18:16:35.730Z","database_specific":{"cwe_ids":["CWE-1336"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123198.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123198.json"},{"type":"PACKAGE","url":"https://github.com/LMFDB/lmfdb"},{"type":"ARTICLE","url":"https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747"},{"type":"FIX","url":"https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4"},{"type":"FIX","url":"https://github.com/LMFDB/lmfdb/pull/7231"},{"type":"ADVISORY","url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123198"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/LMFDB/lmfdb","events":[{"introduced":"0"},{"fixed":"01829bd09b692c720aad30c952758a20630573d4"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"01829bd09b692c720aad30c952758a20630573d4"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123198.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}