LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulnerability in embedding store metadata filters that writes non-String values into queries vi…
- CVSS
- 8.1High
- Chance of exploitation (EPSS)
- —
- Published
- Dec 4, 2026
- In the news
- Not yet
What to do
A serious SQL injection flaw in Langchain4j-chroma, Langchain4j-mariadb, Langchain4j-milvus and 3 more that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, 1.23.0-beta33
Affected versions
- Langchain4j-chroma
- Before 1.5.4-beta11; 1.12.1-beta21 to before 1.19.4-beta29; 1.20.0-beta30 to before 1.23.0-beta33; 1.6.0-beta12 to before 1.11.12-beta19
- Langchain4j-mariadb
- Before 1.5.4-beta11; 1.12.1-beta21 to before 1.19.4-beta29; 1.20.0-beta30 to before 1.23.0-beta33; 1.6.0-beta12 to before 1.11.12-beta19
- Langchain4j-milvus
- Before 1.5.4-beta11; 1.12.1-beta21 to before 1.19.4-beta29; 1.20.0-beta30 to before 1.23.0-beta33; 1.6.0-beta12 to before 1.11.12-beta19
- Langchain4j-milvus-v2
- 1.19.0-beta29 to before 1.19.4-beta29; 1.20.0-beta30 to before 1.23.0-beta33
- Langchain4j-mongodb-atlas
- Before 1.5.4-beta11; 1.12.1-beta21 to before 1.19.4-beta29; 1.20.0-beta30 to before 1.23.0-beta33; 1.6.0-beta12 to before 1.11.12-beta19
- Langchain4j-pgvector
- Before 1.5.4-beta11; 1.12.1-beta21 to before 1.19.4-beta29; 1.20.0-beta30 to before 1.23.0-beta33; 1.6.0-beta12 to before 1.11.12-beta19
Description
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulnerability in embedding store metadata filters that writes non-String values into queries via toString() without escaping. Attackers who control loosely typed filter values, such as nested Lists or Maps from request JSON or LLM tool output, can inject SQL or query operators in pgvector, MariaDB, Milvus, MongoDB Atlas, or Chroma stores to read other tenants' documents or delete rows via removeAll.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-145153 published (CVSS 8.1) (Dec 4, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Yesterday
- CVECVE-2026-145153 published (CVSS 8.1)CVE Program · 16:09 UTC
References 4
- github.com Patch /langchain4j/langchain4j/commit/055468af94754c981958bbadad45eb282d86efce
- github.com Patch /langchain4j/langchain4j/commit/8f6e2210f1a9f8ad92a53e6211861d2b0fbd2802
- github.com Vendor Advisory /langchain4j/langchain4j/security/advisories/GHSA-6wgf-c23j-fj2v
- www.vulncheck.com /advisories/langchain4j-before-1.5.4-beta11-1.11.12-beta19-1.19.4-beta29-and-1.23.0-beta33-metadata…