{"id":"CVE-2026-123198","published":"2026-11-05T19:17:18Z","modified":"2026-11-12T21:36:06Z","title":"LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>","vendor":"LMFDB","product":"LMFDB","tier":"core","eol":null,"affectedVersions":[{"vendor":"LMFDB","product":"LMFDB","versions":["< 01829bd09b692c720aad30c952758a20630573d4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-05T20:59:31.250923Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Deferred","description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"A server-side template injection flaw in the render_knowl function of LMFDB, present in versions before commit 01829bd, allows Jinja expressions to be injected into server-side rendering. An unauthenticated remote attacker can exploit it over the network without user interaction by sending crafted query-string values or content data to the /knowledge/render/<ID> endpoint, which can reach Python builtins and run operating system commands as the web application account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:46:26Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.00845,"percentile":0.58922,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Nov 14, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af723e424844852555c4c67","created":"2026-11-13"},{"name":"Known_Cve | Nov 13, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af5d2be148718a0cc0eeceb","created":"2026-11-12"},{"name":"Known_Cve | Nov 12, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af481765ddcbfde708ea523","created":"2026-11-11"},{"name":"Known_Cve | Nov 11, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6af32fa1e2a2e6e4c806be21","created":"2026-11-10"},{"name":"Known_Cve | Nov 10, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6af1de4ef5d71db2f5f24f0f","created":"2026-11-09"},{"name":"Known_Cve | Nov 9, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6af08d7e03e6c0b005a63bc1","created":"2026-11-08"},{"name":"Known_Cve | Nov 8, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6aef3b08215ae92464b191d3","created":"2026-11-07"},{"name":"Known_Cve | Nov 7, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6aede8fd73ec58c18b4cb4bd","created":"2026-11-06"}],"provenance":"machine"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747","tags":["technical-description"]},{"url":"https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4","tags":["patch"]},{"url":"https://github.com/LMFDB/lmfdb/pull/7231","tags":["patch","issue-tracking"]},{"url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww","tags":[]},{"url":"https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id","tags":["third-party-advisory"]},{"url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww","tags":["vendor-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-117643","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-117643","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-05","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123198","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":20.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":11.78,"detail":"percentile 0.5892"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}