What’s Vulnerable › Vulnerabilities
CVE-2026-85689: llmware 0.4.6 SQL Injection via unescaped filter values
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-04 · updated 2026-09-23
- Weakness: CWE-89
Description
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.
Affected products
- llmware-ai llmware: through 0.4.6
References
- https://github.com/llmware-ai/llmware
- https://github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py
- https://github.com/llmware-ai/llmware/issues/1304
- https://www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-values
Get alerted when CVE-2026-85689 or the next vulnerability affects your stack