Skip to main content
VulnerabilityPublished

CVE-2026-145153: langchain4j-pgvector · SQL Injection

Affects langchain4j-pgvectorSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.2 Critical : upgrade to 1.5.4-beta11 as a priority.

Data as of 4 Dec 2026, 16:15 UTC

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.09.2
CNA (VulnCheck)CVSS 3.18.1
Patch
Available – fixed in 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 +1
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
langchain4jlangchain4j-pgvectorAffected
  • <1.5.4-beta11
Fixed in
  • 1.5.4-beta11
langchain4jlangchain4j-pgvectorAffected
  • >=1.6.0-beta12 <1.11.12-beta19
Fixed in
  • 1.11.12-beta19
langchain4jlangchain4j-pgvectorAffected
  • >=1.12.1-beta21 <1.19.4-beta29
Fixed in
  • 1.19.4-beta29
langchain4jlangchain4j-pgvectorAffected
  • >=1.20.0-beta30 <1.23.0-beta33
Fixed in
  • 1.23.0-beta33
langchain4jlangchain4j-mariadbAffected
  • <1.5.4-beta11
Fixed in
  • 1.5.4-beta11
langchain4jlangchain4j-mariadbAffected
  • >=1.6.0-beta12 <1.11.12-beta19
Fixed in
  • 1.11.12-beta19

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade langchain4j to one of the fixed versions: 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, or 1.23.0-beta33. These versions contain patches that properly escape special elements in embedding store metadata filters to prevent injection. No other mitigation or temporary workaround is indicated by the vendor advisory.

Description

CVE-2026-145153 is a critical SQL injection vulnerability in langchain4j versions before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33. The flaw arises from improper neutralization of special elements in embedding store metadata filters, where non-String values are converted to strings without proper escaping. This allows attackers controlling loosely typed filter values, such as nested Lists or Maps from JSON requests or LLM tool outputs, to inject SQL or query operators into supported stores like pgvector, MariaDB, Milvus, MongoDB Atlas, or Chroma. Exploitation can lead to unauthorized reading of other tenants' documents or deletion of rows via removeAll operations.

References

Community reviews

Loading reviews…