{"id":"CVE-2026-123198","aliases":["EUVD-2026-117643","GHSA-6jw3-pmcx-2xww"],"status":"published","title":"LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/\u003cID\u003e","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/\u003cID\u003e to reach Python builtins and execute operating system commands as the web application account.","severity":{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00845,"percentile":0.58516,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-1336"],"published":"2026-11-05T18:16:35Z","modified":"2026-11-07T02:48:28Z","products":[{"vendor":"lmfdb","product":"lmfdb"}],"references":[{"url":"https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/LMFDB/lmfdb/pull/7231","tags":["patch","issue-tracking","fix"]},{"url":"https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4","tags":["patch","fix"]},{"url":"https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123198.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123198","tags":["advisory"]},{"url":"https://github.com/LMFDB/lmfdb","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-123198","title":"LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/\u003cID\u003e","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/\u003cID\u003e to reach Python builtins and execute operating system commands as the web application account.","status":"published","published":"2026-11-05T18:16:35.73Z","modified":"2026-11-05T20:59:50.463Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-1336"],"updated_at":"2026-11-05T21:25:05.838392Z"}],"euvd":[{"id":"EUVD-2026-117643","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/\u003cID\u003e to reach Python builtins and execute operating system commands as the web application account.","status":"published","published":"2026-11-05T18:16:35Z","modified":"2026-11-05T20:59:50Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical"}],"updated_at":"2026-11-05T22:02:09.75306Z"}],"nvd":[{"id":"CVE-2026-123198","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/\u003cID\u003e to reach Python builtins and execute operating system commands as the web application account.","status":"published","published":"2026-11-05T19:17:18.393Z","modified":"2026-11-05T21:18:45.82Z","cvss":[{"version":"4.0","score":9.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-1336"],"updated_at":"2026-11-05T23:57:23.655479Z"}],"osv":[{"id":"CVE-2026-123198","title":"LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/\u003cID\u003e","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/\u003cID\u003e to reach Python builtins and execute operating system commands as the web application account.","status":"published","published":"2026-11-05T18:16:35.73Z","modified":"2026-11-07T02:48:28.383325245Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical"}],"cwes":["CWE-1336"],"updated_at":"2026-11-07T03:08:01.726202Z"}]}}
