> CVE-2026-55405 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-10 21:16
MODIFIED
2026-07-10 21:16
CVSS_SCORE V3
7.6
EPSS (Prob. Exploit)
0.47%
Top 59.9%
DATA SOURCES:
NVD 🔗 2026-07-10 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-07-26

> 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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
EXPLOITABILITY
2.8
IMPACT
4.7

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-89

> CWE DETAILED DESCRIPTIONS

CWE-89: Improper Neutralization of Special Elements used in an SQL Command - The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

> GITHUB SECURITY ADVISORY

GHSA-2mfg-cc43-9pcj HIGH

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

AFFECTED PACKAGES:
MAVEN / dev.langchain4j:langchain4j-pgvector
>= 1.12.1-beta21, <= 1.16.2-beta26
Fixed in: 1.16.3-beta26
MAVEN / dev.langchain4j:langchain4j-pgvector
>= 1.6.0-beta12, <= 1.11.7-beta19
Fixed in: 1.11.8-beta19
MAVEN / dev.langchain4j:langchain4j-pgvector
>= 1.3.0-beta9, <= 1.5.0-beta11
Fixed in: 1.5.1-beta11
MAVEN / dev.langchain4j:langchain4j-pgvector
<= 1.2.0-beta8
Fixed in: 1.2.1-beta8
MAVEN / dev.langchain4j:langchain4j-mariadb
>= 1.12.1-beta21, <= 1.16.2-beta26
Fixed in: 1.16.3-beta26
MAVEN / dev.langchain4j:langchain4j-mariadb
>= 1.6.0-beta12, <= 1.11.7-beta19
Fixed in: 1.11.8-beta19
MAVEN / dev.langchain4j:langchain4j-mariadb
>= 1.3.0-beta9, <= 1.5.0-beta11
Fixed in: 1.5.1-beta11
MAVEN / dev.langchain4j:langchain4j-mariadb
<= 1.2.0-beta8
Fixed in: 1.2.1-beta8

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
56 versions affected
ALIASES:
GHSA-2mfg-cc43-9pcj

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/07/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') - The product constructs all or part of an SQL command using externally-influenced input from an upstream c...
Nouvelle valeur:
CWE-89: Improper Neutralization of Special Elements used in an SQL Command - The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it d...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') - The product constructs all or part of an SQL command using externally-influenced input from an upstream c...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/langchain4j/langchain4j/commit/13a0698bdfaf105d8aaf0367881df5...
https://github.com/langchain4j/langchain4j/commit/1bc1f60aa58ef5c3c1703caf733624...
https://github.com/langchain4j/langchain4j/commit/8805d5d128694302f1b0a265017418...
https://github.com/langchain4j/langchain4j/commit/ce96291dfb243c7f6753b5d65c7a77...
https://github.com/langchain4j/langchain4j/commit/f14a10ce77e4ea1b8277f67d6a81f4...
https://github.com/langchain4j/langchain4j/releases/tag/1.16.3
https://github.com/langchain4j/langchain4j/security/advisories/GHSA-2mfg-cc43-9p...
« BACK_TO_HOME