HackerFeeds
All CVEs

CVE-2026-145153: LangChain4j SQL Injection

HIGH8.1

Published 2026-12-04 · Updated 2026-12-04 · Source disclosure@vulncheck.com

Not known to be exploited · high severity — update LangChain4j to a fixed release (1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, 1.23.0-beta33) in your next patch cycle.

What to do

  1. Update LangChain4j to a fixed release: 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 or 1.23.0-beta33 (whichever matches your release branch).
  2. Until it is patched, do not leave LangChain4j reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Put WAF rules in front of the affected parameters, and make sure the application's database account holds only the privileges it needs.

Affected and fixed versions

ProductAffectedFixed in
LangChain4jReleases before the fixed versions1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 or 1.23.0-beta33 (whichever matches your release branch)

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality, integrity and availability is rated high.

CVSS 3.1 metrics for CVE-2026-145153
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityHighTotal loss of availability.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: SQL Injection

Attacker-controlled input changes the structure of a database query, which can expose, modify or delete data and sometimes leads to code execution on the database host.

Classified as CWE-89, CWE-943.

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.

Advisory text as published in the NVD record.

View on NVD