Skip to main content
CVE-2025-67644VulnerabilityPublished

CVE-2025-67644: langchain-ai langgraph · SQL Injection

Affects langchain-ai langgraphSource CVE Database V5

0

Not known to be exploited · CVSS 7.3 High : upgrade to 3.0.1 soon.

Data as of 26 Oct 2026, 08:11 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.3% chance of exploitation in 30 days – higher than 83% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.0.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-26.

What to do

Upgrade langchain-ai/langgraph to 3.0.1.

Affected software

ProductAffectedFixed in
GitHublangchain-ai/langgraphpkg:github/langchain-ai/langgraphOther threatsAffected
  • <3.0.1
Fixed in
  • 3.0.1

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

AI-suggested

1. Immediate upgrade to langgraph version 3.0.1 or later, where the vulnerability is fixed. 2. Implement strict input validation and sanitization on all metadata filter keys before they are processed by the checkpoint system, ensuring that only expected keys with safe characters are accepted. 3. Restrict access to the checkpointing functionality and metadata inputs to trusted users and systems only, minimizing the risk of local exploitation. 4. Employ application-layer firewalls or runtime application self-protection (RASP) tools that can detect and block suspicious SQL query patterns indicative of injection attempts. 5. Conduct code reviews and penetration testing focused on metadata handling and checkpoint operations to identify any residual injection vectors. 6. Monitor logs for unusual query patterns or errors related to checkpoint searches that could indicate attempted exploitation. 7. Educate developers and security teams about the risks of interpolating untrusted input directly into SQL queries and promote the use of parameterized queries or ORM frameworks that inherently prevent injection. 8. For organizations unable to upgrade immediately, implement compensating controls such as input filtering proxies or sandboxing of the checkpointing process to limit potential damage.

Description

LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). Versions 3.0.0 and below are vulnerable to SQL injection through the checkpoint implementation. Checkpoint allows attackers to manipulate SQL queries through metadata filter keys, affecting applications that accept untrusted metadata filter keys (not just filter values) in checkpoint search operations. The _metadata_predicate() function constructs SQL queries by interpolating filter keys directly into f-strings without validation. This issue is fixed in version 3.0.1.

References

Community reviews

Loading reviews…