CVE-2026-85689 llmware 0.4.6 SQL Injection via unescaped filter values
Attackers can inject SQL via unescaped filter values in llmware to disclose unauthorized rows from SQLite or PostgreSQL databases.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-85689?
CVE-2026-85689 is a high-severity SQL injection vulnerability in llmware-ai llmware, published on 4 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-85689?
How do I fix CVE-2026-85689?
No fix has been published for CVE-2026-85689 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-85689 being exploited?
There is no known exploitation of CVE-2026-85689 in the wild and no public exploit code.
Sources
Also known as GHSA-xw8g-m37q-fhx8.