CVE-2026-145153

Source
https://cve.org/CVERecord?id=CVE-2026-145153
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145153.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-145153
Aliases
  • GHSA-6wgf-c23j-fj2v
Published
2026-12-04T16:09:46Z
Modified
2026-12-04T19:45:27Z
Severity
  • 9.2 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 Metadata Filter Injection
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-89",
        "CWE-943"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145153.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "1.5.4-beta11"
                        },
                        {
                            "introduced":  "1.6.0-beta12"
                        },
                        {
                            "fixed":  "1.11.12-beta19"
                        },
                        {
                            "introduced":  "1.12.1-beta21"
                        },
                        {
                            "fixed":  "1.19.4-beta29"
                        },
                        {
                            "introduced":  "1.20.0-beta30"
                        },
                        {
                            "fixed":  "1.23.0-beta33"
                        },
                        {
                            "fixed":  "1.5.4-beta11"
                        },
                        {
                            "introduced":  "1.6.0-beta12"
                        },
                        {
                            "fixed":  "1.11.12-beta19"
                        },
                        {
                            "introduced":  "1.12.1-beta21"
                        },
                        {
                            "fixed":  "1.19.4-beta29"
                        },
                        {
                            "introduced":  "1.20.0-beta30"
                        },
                        {
                            "fixed":  "1.23.0-beta33"
                        },
                        {
                            "fixed":  "1.5.4-beta11"
                        },
                        {
                            "introduced":  "1.6.0-beta12"
                        },
                        {
                            "fixed":  "1.11.12-beta19"
                        },
                        {
                            "introduced":  "1.12.1-beta21"
                        },
                        {
                            "fixed":  "1.19.4-beta29"
                        },
                        {
                            "introduced":  "1.20.0-beta30"
                        },
                        {
                            "fixed":  "1.23.0-beta33"
                        },
                        {
                            "fixed":  "1.5.4-beta11"
                        },
                        {
                            "introduced":  "1.6.0-beta12"
                        },
                        {
                            "fixed":  "1.11.12-beta19"
                        },
                        {
                            "introduced":  "1.12.1-beta21"
                        },
                        {
                            "fixed":  "1.19.4-beta29"
                        },
                        {
                            "introduced":  "1.20.0-beta30"
                        },
                        {
                            "fixed":  "1.23.0-beta33"
                        },
                        {
                            "fixed":  "1.5.4-beta11"
                        },
                        {
                            "introduced":  "1.6.0-beta12"
                        },
                        {
                            "fixed":  "1.11.12-beta19"
                        },
                        {
                            "introduced":  "1.12.1-beta21"
                        },
                        {
                            "fixed":  "1.19.4-beta29"
                        },
                        {
                            "introduced":  "1.20.0-beta30"
                        },
                        {
                            "fixed":  "1.23.0-beta33"
                        },
                        {
                            "introduced":  "1.19.0-beta29"
                        },
                        {
                            "fixed":  "1.19.4-beta29"
                        },
                        {
                            "introduced":  "1.20.0-beta30"
                        },
                        {
                            "fixed":  "1.23.0-beta33"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "4j"
                        },
                        {
                            "fixed":  "1.5.4-beta11"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/langchain4j/langchain4j

Affected ranges

Type
GIT
Repo
https://github.com/langchain4j/langchain4j
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "055468af94754c981958bbadad45eb282d86efce"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "8f6e2210f1a9f8ad92a53e6211861d2b0fbd2802"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.1.0
0.10.0
0.11.0
0.12.0
0.13.0
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.19.0
0.2.0
0.20.0
0.21.0
0.22.0
0.23.0
0.24.0
0.25.0
0.26.0
0.26.1
0.27.0
0.27.1
0.28.0
0.29.0
0.29.1
0.3.0
0.30.0
0.31.0
0.32.0
0.33.0
0.34.0
0.35.0
0.36.0
0.36.1
0.36.2
0.4.0
0.5.0
0.6.0
0.7.0
0.8.0
0.9.0
1.*
1.0.0-alpha1
1.0.0-beta1
1.0.0-beta2
1.13.0
1.14.0
1.15.0
1.16.0
1.17.0
1.18.0
1.19.0
1.19.1
1.20.0
1.21.0
1.22.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145153.json"