CVE Catalog

CVE-2026-123198

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An unauthenticated attacker can execute operating system commands as the web application account, leading to full server compromise.

Recommendation

Update LMFDB to commit 01829bd or later and consider restricting access to the /knowledge/render endpoint.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS