CVE-2026-55405

LangChain4j: SQL injection via metadata filters in langchain4j-mariadb and langchain4j-pgvector

HIGH
7.6
CVSS Score
Published: July 10, 2026 at 08:33 PM UTC
Updated: July 13, 2026 at 06:27 PM UTC
1 product affected across 1 vendorLANGCHAIN4J

Using langchain4j by langchain4j?

Get instant alerts when new vulnerabilities affect langchain4j - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.6
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.11.8-beta19v < 1.16.3-beta26v < 1.2.1-beta8v < 1.5.1-beta11
Affected range stops below 1.11.8-beta19, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.16.3-beta26, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.2.1-beta8, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.5.1-beta11, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.6HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card