CVE-2026-85689
published high CVSS 4.0 · 7.1llmware 0.4.6 SQL Injection via unescaped filter values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| llmware-ai | — | llmware0 through 0.4.6 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| llmware-ai | llmware | 0 through 0.4.6 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
4- https://github.com/llmware-ai/llmware
- https://github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py
- GitHub Issue #1304 https://github.com/llmware-ai/llmware/issues/1304
- VulnCheck Advisory: llmware 0.4.6 SQL Injection via unescaped filter values https://www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-values
Provider assertions
2VulnCheck · cna
llmware 0.4.6 SQL Injection via unescaped filter values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b36f128c05f1fb871a5a3beaeae5ad8450b973e0916fa364e6dc6e7858a6e735
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record