{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"lmfdb/lmfdb","product":"LMFDB","source":"CNA: VulnCheck","vendor":"LMFDB","versions":[{"lessThan":"01829bd09b692c720aad30c952758a20630573d4","status":"affected","version":"0","versionType":"git"}]}],"cveId":"CVE-2026-123198","cwes":["CWE-1336"],"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.","epss":null,"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww"}],"kev":null,"metrics":[{"score":9.3,"severity":"critical","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":9.8,"severity":"critical","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793912390463,"publishedAt":1793902595730,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww"},{"source":"CNA: VulnCheck","tags":["patch","issue-tracking"],"url":"https://github.com/LMFDB/lmfdb/pull/7231"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/LMFDB/lmfdb/pull/7231"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4"}],"revision":"54ac621eca2041a67ee96399b8cd9066ee27dad32e426437192c9e916b37836e","sources":[{"modifiedAt":1793912390463,"name":"CNA: VulnCheck","retrievedAt":1793913809037,"url":"https://www.cve.org/CVERecord?id=CVE-2026-123198"}],"ssvc":{"assessedAt":1793912371250,"automatable":"yes","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>","updatedAt":1793913809037}