Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-123198: LMFDB render page allows unauthenticated code execution
CVE-2026-123198 · published 22 days ago
Summary
The LMFDB website lets anyone send specially crafted data to a page called /knowledge/render/<ID>. By doing so, an attacker can make the server run arbitrary commands, potentially taking control of the web server. Apply the latest update from the project or restrict access to that page until the fix is installed.
What to do
- Update lmfdb lmfdb to version 01829bd09b692c720aad30c952758a20630573d4 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| lmfdb | lmfdb | < 01829bd09b692c720aad30c952758a20630573d4 |
Original advisory text
LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>
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.
References
- https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww Vendor Advisory
- https://github.com/LMFDB/lmfdb/pull/7231 Patch
- https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4 Patch
- https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmf... Third Party Advisory
- https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-1231... Vendor Advisory
- https://github.com/LMFDB/lmfdb Product
- https://nvd.nist.gov/vuln/detail/CVE-2026-123198 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
9.9
Critical
Type
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine
Timeline
Published5 Nov 2026
Updated26 Nov 2026
First seen5 Nov 2026
Sources
CVE-2026-123198 · NVD
CVE-2026-123198 · MITRE
CVE-2026-123198 · OSV
GHSA-6jw3-pmcx-2xww · GHSA
Track software like this
Free during beta