CVE-2026-123198 LMFDB · LMFDB
9.8 Critical
AI summary
LMFDB before commit 01829bd has a server-side template injection (Jinja) flaw in render_knowl reachable via /knowledge/render/<ID>. A remote unauthenticated attacker can execute OS commands as the web application account. Critical (CVSS 9.8); update to a version including the fix commit promptly.
Official 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.
- Published
- 2026-11-05 19:17 UTC
- Modified
- 2026-11-12 21:36 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.81% (percentile 54)
- ENISA EUVD
- EUVD-2026-117643
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-1336
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747 - github.com
https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4 - github.com
https://github.com/LMFDB/lmfdb/pull/7231 - github.com
https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww - www.vulncheck.com
https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id