{"id":"CVE-2026-85689","published":"2026-09-04T14:32:33Z","modified":"2026-09-08T17:10:27Z","title":"llmware 0.4.6 SQL Injection via unescaped filter values","vendor":"llmware-ai","product":"llmware","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.37191,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/llmware-ai/llmware/issues/1304","tags":["issue-tracking"]},{"url":"https://github.com/llmware-ai/llmware","tags":["product"]},{"url":"https://github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-values","tags":["third-party-advisory"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.44},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"llmware-ai","affectedVersions":[{"vendor":"llmware-ai","product":"llmware","versions":["<= 0.4.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-08T17:10:16.228234Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-71138","exploited":false,"provenance":"source"}}