It matters when an application passes untrusted, loosely typed values into a filter. A vulnerability intelligence platform can provide a CVE reference while teams verify their deployed modules and data flow.The CNA assigns CVSS 4.0 9.2 Critical and CVSS 3.1 8.1 High. The weakness involves SQL injection (CWE-89) and injection into data query logic (CWE-943), depending on the store. LangChain4j published its advisory on 4 December 2026.
What it allows
How Does CVE-2026-145153 Change a Metadata Query?
LangChain4j says several stores inserted filter values into query text after converting unexpected object types to strings. Values from request JSON or LLM tool output could therefore alter a generated query if the application passed them through without type checks. This is a risk at the application's filter input boundary, rather than a blanket finding for every LangChain4j deployment.
The affected syntax differs by store. In pgvector, nested values in membership filters could alter SQL; before 1.11.0, even String values in those filters were not escaped. MariaDB and Milvus could insert unsupported object values into expressions, while MongoDB Atlas and Chroma could interpret Map values as query operators.
The vendor says a changed search filter could reach other users' or tenants' rows. A manipulated removeAll(Filter) operation could delete rows. These outcomes depend on the vulnerable module, the application's use of those operations, and untrusted values reaching its filters.
What Should Defenders Check for CVE-2026-145153?
Trace where request data and LLM tool output become metadata filter values. Prioritize applications that accept nested objects or collections and use affected embedding store modules for search or removal. Review access controls around those operations and investigate unexpected broad search results or deletions as a defensive inference.
Brandefense Blackhole counted 2 dark-chat items mentioning CVE-2026-145153 from 2026-09-06 through 2026-12-05. The measured unit is a dark-chat item mentioning this identifier. CISA's KEV catalog version dated 4 December 2026 did not list the CVE; the chat count does not establish exploitation.
Who is affected
Which LangChain4j Modules and Versions Are Affected?
The advisory lists langchain4j-pgvector, langchain4j-mariadb, langchain4j-milvus, langchain4j-mongodb-atlas and langchain4j-chroma. For each, the affected lines are below 1.5.4-beta11; 1.6.0-beta12 to below 1.11.12-beta19; 1.12.1-beta21 to below 1.19.4-beta29; and 1.20.0-beta30 to below 1.23.0-beta33. Use the patch management process to compare each installed Maven module with its release line.
The separate langchain4j-milvus-v2 module began at 1.19.0-beta29, according to the vendor. Its affected ranges are 1.19.0-beta29 to below 1.19.4-beta29 and 1.20.0-beta30 to below 1.23.0-beta33. The fixed releases are 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 and 1.23.0-beta33 for applicable modules and lines.
Applications using only String, number, UUID or Boolean filter values are outside the vendor's described non-String case. The exception is pgvector before 1.11.0, where String membership filters were also vulnerable. The vendor also excludes filters made by LanguageModelSqlFilterBuilder, which emits supported scalar types.
Timeline
- 2026-12-04
LangChain4j published GHSA-6wgf-c23j-fj2v; the VulnCheck CNA published CVE-2026-145153.
What to do
-
Inventory the embedding store modules
Record the installed LangChain4j Maven artifacts and exact versions. Identify which applications pass request JSON or LLM tool output into metadata filters, especially in multi-tenant search and removal paths.
-
Upgrade the applicable release line
Move affected modules to 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 or 1.23.0-beta33, as appropriate for the deployed line. Check the separate milvus-v2 starting version before choosing its fix.
-
Verify the running dependency
After deployment, inspect the resolved runtime dependency version for every affected store module. Confirm that the running application uses the patched build, then exercise authorized search and removal paths.
-
Constrain filter input until rollout
Allow only String, number, UUID or Boolean metadata values, converting each untrusted value before filter construction. Do not rely on this workaround for pgvector before 1.11.0; upgrade that line.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-145153 in Brandefense Atlas
The Atlas record of CVE-2026-145153: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-145153 affect every LangChain4j application?
No. The vendor describes affected embedding store modules when applications pass untrusted, loosely typed values to metadata filters. Pgvector before 1.11.0 has an additional String membership-filter issue.
Can a changed filter expose data from another tenant?
Yes, if an exposed application passes untrusted values into a vulnerable search filter. LangChain4j says a modified filter can override conditions added by the application.
What versions contain the fix?
The vendor lists 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 and 1.23.0-beta33 for their respective release lines. Verify each deployed module and its running version.
Sources
- Injection via non-String metadata filter valuesLangChain4j
- CVE-2026-145153 CNA recordVulnCheck via CVE.org
- Known Exploited Vulnerabilities catalogCISA