SQL Injection in Llmware-Ai Llmware
CVE-2026-85689
llmware 0.4.6 contains an SQL injection vulnerability in the collection-database layer (llmware/resources.py) where filter and lookup values are directly string-interpolated into SQL WHERE clauses without parameterization or escaping, in both the SQLite and PostgreSQL backends. The filter validator only checks keys against an allow-list and never sanitizes values. Attacker-controlled filter values reaching the public API via Library.block_lookup and Query.text_query_with_custom_filter / text_query_by_author_or_speaker can neutralize the intended filter to disclose rows the caller was scoped out of (cross-document/cross-collection disclosure); on PostgreSQL the flaw permits boolean- and UNION-based SQL injection.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (34.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 34.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.002
Affected products
Weakness classification (CWE)
References
- github.com/llmware-ai/llmware (product)
- github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py (technical-description)
- github.com/llmware-ai/llmware/issues/1304 (issue-tracking)
- www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-v… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-85689?
- CVE-2026-85689 is a medium-severity vulnerability in Llmware-Ai Llmware, classified under SQL Injection. CVSS score: 6.5/10. Published 2026-09-04.
- How severe is CVE-2026-85689?
- Medium severity. CVSS v3 base score is 6.5 out of 10.