LMFDB Unauthenticated Server-Side Template Injection in render_knowl
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
LMFDB before commit 01829bd contains a server-side template injection flaw in the render_knowl function. An unauthenticated remote attacker can inject Jinja expressions through the /knowledge/render/<ID> endpoint and reach Python builtins to run operating system commands as the web application account. A proof of concept is referenced in the CISA SSVC data.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
No affected products listed by the sources yet.
Remediation
Update LMFDB to commit 01829bd or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Timeline
- 2026-11-05 Threatist record created from CVE-2026-123198
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: MEDIUM → HIGH
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences