CVE-2026-123198 PUBLISHED

LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>

Assigner: VulnCheck
Reserved: 05.11.2026 Published: 05.11.2026 Updated: 05.11.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor LMFDB
Product LMFDB
Versions Default: unaffected
  • affected from 0 to 01829bd09b692c720aad30c952758a20630573d4 (excl.)

Credits

  • Tommaso Bona finder
  • edgarcosta remediation developer

References

Problem Types

  • Improper Neutralization of Special Elements Used in a Template Engine CWE