Skip to main content

CVE-2026-115883: CWE-20: Improper Input Validation in langchain-ai langgraph

0
Medium
VulnerabilityCVE-2026-115883cvecve-2026-115883cwe-20cwe-863
Published: 10/23/2026 (10/23/2026, 21:12:34 UTC)
Source: CVE Database V5
Vendor/Project: langchain-ai
Product: langgraph

Description

CVE-2026-115883 is an improper input validation vulnerability in langchain-ai's langgraph checkpoint savers that use Postgres and SQLite for state persistence. Versions prior to langgraph-checkpoint-postgres 3.1.3 and langgraph-checkpoint-sqlite 3.1.2 allow unvalidated dotted namespace labels in certain operations, enabling cross-namespace access including reads, overwrites, or deletions. This issue does not affect InMemoryStore. The vulnerability has a medium severity with a CVSS 4.0 score of 6. A fix is available in the specified versions.

CVSS v4.0

Score 6.0medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

langchain-ai

langgraph

Affected versions
<1.2.15

langchain-ai

langgraph-checkpoint-postgres

Affected versions
<3.1.3

langchain-ai

langgraph-checkpoint-sqlite

Affected versions
<3.1.2
langgraph-checkpoint-postgres
pkg:pypi/langgraph-checkpoint-postgres
Affected versions
<3.1.3
langgraph-checkpoint-sqlite
pkg:pypi/langgraph-checkpoint-sqlite
Affected versions
<3.1.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 21:50:27 UTC

Technical Analysis

LangGraph checkpoint savers for Postgres and SQLite flatten namespace labels by joining with dots, but only validate these labels on put and aput operations. Other operations such as get, search, delete, list_namespaces, and their asynchronous or batch equivalents do not validate dotted namespace labels. This allows an attacker to craft unvalidated dotted labels that can resolve to another tenant's namespace, leading to unauthorized cross-namespace reads, overwrites, or deletions. The InMemoryStore is unaffected because it compares namespace tuples directly. The vulnerability is fixed in langgraph-checkpoint-postgres version 3.1.3 and langgraph-checkpoint-sqlite version 3.1.2.

Potential Impact

Exploitation of this vulnerability can result in unauthorized access to or modification of another tenant's stored namespace data within LangGraph workflows and agents using Postgres or SQLite checkpoint savers. This undermines data isolation between tenants, potentially leading to data leakage or corruption. The vulnerability does not affect InMemoryStore implementations.

Mitigation Recommendations

A fix is available and should be applied by upgrading to langgraph-checkpoint-postgres version 3.1.3 or later and langgraph-checkpoint-sqlite version 3.1.2 or later. Users should update affected components to these versions to remediate the vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-23T19:37:27.176Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6adbd340d73cc49347c1eff2

Added to database: 10/23/2026, 21:36:00 UTC

Last enriched: 10/23/2026, 21:50:27 UTC

Last updated: 10/23/2026, 21:50:50 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses