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
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a server‑side template injection in the LMFDB application’s render_knowl function that allows an unauthenticated user to inject arbitrary Jinja expressions through the /knowledge/render/<ID> endpoint. By supplying crafted query-string parameters or content data, an attacker can reach Python built‑ins and execute operating‑system commands with the web application’s account privileges. This flaw enables full remote code execution on the host running LMFDB.

Affected Systems

The flaw affects all releases of LMFDB before commit 01829bd. The product is the LMFDB web‑application, and any installation that has not applied the patch that introduces the commit 01829bd fix is vulnerable. There is no version suffix given beyond the commit identifier, so any instance that has not incorporated this change is at risk.

Risk and Exploitability

The CVSS score is 9.3, indicating a critical risk. The EPSS score is not available, so the likelihood of exploitation cannot be quantified via that metric, but the vulnerability is openly documented and the flaw was publicly disclosed. The issue is not listed in CISA’s KEV catalog, yet the ability to trigger OS command execution without authentication makes it a high‑priority target for attackers. The attack vector is likely a remote HTTP request to the vulnerable endpoint, and no special privileges or network access are required beyond the ability to reach the web server.

Generated by OpenCVE AI on November 5, 2026 at 19:49 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest LMFDB release that includes commit 01829bd or later to eliminate the vulnerable template engine code.
  • If an upgrade cannot be performed immediately, disable or restrict access to the /knowledge/render/<ID> endpoint so that only authenticated users or administrators can use it.
  • Deploy a WAF rule or log monitoring to detect and block injected Jinja template expressions and alert on suspicious activity.

Generated by OpenCVE AI on November 5, 2026 at 19:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-05T20:59:50.463Z

Reserved: 2026-11-05T17:58:49.326Z

Link: CVE-2026-123198

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T19:17:18.393

Modified: 2026-11-05T21:18:45.820

Link: CVE-2026-123198

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T20:00:09Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine