CVE-2026-123198
published critical CVSS 4.0 · 9.3LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LMFDB | — | LMFDB0 to < 01829bd09b692c720aad30c952758a20630573d4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LMFDB | LMFDB | 0 to < 01829bd09b692c720aad30c952758a20630573d4 (affected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
5- https://github.com/LMFDB/lmfdb/blob/c6e5bac205aa12de9edf584a06328fefa81de0de/lmfdb/knowledge/main.py#L747
- https://github.com/LMFDB/lmfdb/commit/01829bd09b692c720aad30c952758a20630573d4
- https://github.com/LMFDB/lmfdb/pull/7231
- GitHub Security Advisory (GHSA-6jw3-pmcx-2xww) https://github.com/LMFDB/lmfdb/security/advisories/GHSA-6jw3-pmcx-2xww
- VulnCheck Advisory: LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID> https://www.vulncheck.com/advisories/lmfdb-before-commit-01829bd-unauthenticated-server-side-template-injection-via-knowledge-render-id
Provider assertions
2VulnCheck · cna
LMFDB before commit 01829bd Unauthenticated Server-Side Template Injection via /knowledge/render/<ID>
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6d24ef108c0eec7801baa4c54f94863c70a65bea8ffa0781f8ccf6be41547e12
- Ingested
- 07 Nov 2026, 23:40:33 UTC
- Source record
- Official CVE record