# CVE-2026-123198: LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-05T18:16:35.730Z
- Modified: 2026-11-12T21:36:06.743Z
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- LMFDB LMFDB: before 01829bd09b692c720aad30c952758a20630573d4

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww> (exploit, vendor-advisory)
- <https://github.com/LMFDB/lmfdb/pull/7231> (issue-tracking, patch)
- <https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4> (patch)
- <https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747> (technical-description)
- <https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-123198](https://www.cve.org/CVERecord?id=CVE-2026-123198), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-123198](https://nvd.nist.gov/vuln/detail/CVE-2026-123198), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-123198 · Whole record: https://cve.day/CVE-2026-123198.json · Rebuilt by cve.day 2026-11-25T22:59:49.152Z
