{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123198","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-05T17:58:49.326Z","datePublished":"2026-11-05T18:16:35.730Z","dateUpdated":"2026-11-05T20:59:50.463Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-05T18:16:35.730Z"},"datePublic":"2026-11-02T00:00:00.000Z","title":"LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Special Elements Used in a Template Engine","cweId":"CWE-1336","type":"CWE"}]}],"affected":[{"vendor":"LMFDB","product":"LMFDB","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"01829bd09b692c720aad30c952758a20630573d4","status":"affected","versionType":"git"}],"packageURL":"pkg:github/lmfdb/lmfdb","repo":"https://github.com/LMFDB/lmfdb"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"references":[{"url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-6jw3-pmcx-2xww)"},{"url":"https://github.com/LMFDB/lmfdb/pull/7231","tags":["patch","issue-tracking"]},{"url":"https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4","tags":["patch"]},{"url":"https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747","tags":["technical-description"]},{"name":"VulnCheck Advisory: LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id"}],"credits":[{"lang":"en","value":"Tommaso Bona","type":"finder"},{"lang":"en","value":"edgarcosta","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"references":[{"url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-05T20:59:31.250923Z","id":"CVE-2026-123198","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-05T20:59:50.463Z"}}]}}