Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-55405
Published:July 10, 2026
Updated:July 21, 2026
LangChain4j is a Java library for building LLM-powered applications on the JVM. Prior to 1.2.1-beta8, 1.5.1-beta11, 1.11.8-beta19, and 1.16.3-beta26, the MariaDB and pgvector embedding stores build metadata-filter SQL by string-concatenating filter keys, and in MariaDB string values, directly into the query without adequate escaping. A crafted metadata key in EmbeddingSearchRequest.filter() can break out of its SQL context and inject arbitrary SQL into the statements executed by the stores' search and removeAll(Filter) operations, enabling blind data exfiltration, denial of service via sleep functions, and deletion of arbitrary rows through removeAll(Filter). This issue is fixed in langchain4j-mariadb and langchain4j-pgvector versions 1.2.1-beta8, 1.5.1-beta11, 1.11.8-beta19, and 1.16.3-beta26.
Affected Packages
https://github.com/langchain4j/langchain4j.git (GITHUB):
Affected version(s) >=0.1.0 <1.16.3-beta26
Fix Suggestion:
Update to version 1.16.3-beta26
dev.langchain4j:langchain4j-mariadb (JAVA):
Affected version(s) >=0.0.002-test-beta2 <1.0.0-alpha2
Fix Suggestion:
Update to version 1.0.0-alpha2
dev.langchain4j:langchain4j-pgvector (JAVA):
Affected version(s) >=1.6.0-beta12 <1.11.8-beta19
Fix Suggestion:
Update to version 1.11.8-beta19
dev.langchain4j:langchain4j-pgvector (JAVA):
Affected version(s) >=0.0.002-test-beta2 <1.2.1-beta8
Fix Suggestion:
Update to version 1.2.1-beta8
dev.langchain4j:langchain4j-pgvector (JAVA):
Affected version(s) >=0.0.002-test-beta2 <1.0.0-alpha2
Fix Suggestion:
Update to version 1.0.0-alpha2
dev.langchain4j:langchain4j-pgvector (JAVA):
Affected version(s) >=1.12.1-beta21 <1.16.3-beta26
Fix Suggestion:
Update to version 1.16.3-beta26
dev.langchain4j:langchain4j-pgvector (JAVA):
Affected version(s) >=1.2.0-beta8 <1.16.3-beta26
Fix Suggestion:
Update to version 1.16.3-beta26
dev.langchain4j:langchain4j-mariadb (JAVA):
Affected version(s) >=1.2.0-beta8 <1.16.3-beta26
Fix Suggestion:
Update to version 1.16.3-beta26
dev.langchain4j:langchain4j-mariadb (JAVA):
Affected version(s) >=1.12.1-beta21 <1.16.3-beta26
Fix Suggestion:
Update to version 1.16.3-beta26
dev.langchain4j:langchain4j-mariadb (JAVA):
Affected version(s) >=1.6.0-beta12 <1.11.8-beta19
Fix Suggestion:
Update to version 1.11.8-beta19
dev.langchain4j:langchain4j-mariadb (JAVA):
Affected version(s) >=0.0.002-test-beta2 <1.2.1-beta8
Fix Suggestion:
Update to version 1.2.1-beta8
dev.langchain4j:langchain4j-pgvector (JAVA):
Affected version(s) >=1.0.1-beta6 <1.1.0-M2
Fix Suggestion:
Update to version 1.1.0-M2
dev.langchain4j:langchain4j-mariadb (JAVA):
Affected version(s) >=1.0.1-beta6 <1.1.0-M2
Fix Suggestion:
Update to version 1.1.0-M2
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
Base Score:
0.35