Vulnerability details
CVE-2026-85689
llmware 0.4.6 SQL Injection via unescaped filter values
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 7.1High | 4.0 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| 6.5Medium | 3.1 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| llmware-ai | llmware | v ≤ 0.4.6 | CVEProject cvelistV5 (CNA) |
References and advisories
4- https://github.com/llmware-ai/llmware/issues/1304 issue-tracking
- https://github.com/llmware-ai/llmware product
- https://github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py technical-description
- https://www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-values third-party-advisory
Details
- Published
- 2026-09-04
- Last updated
- 2026-09-08
- State
- Published
- Assigner (CNA)
- VulnCheck
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')