6.8 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Adjacent (A)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): High (H)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Adjacent (A)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): High (H)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
19 packages
- langgraph-cli
- python313Packages.langgraph
- python314Packages.langgraph
- python313Packages.langgraph-cli
- python313Packages.langgraph-sdk
- python314Packages.langgraph-cli
- python314Packages.langgraph-sdk
- python313Packages.langgraph-prebuilt
- python314Packages.langgraph-prebuilt
- python313Packages.langgraph-runtime-inmem
- python313Packages.langgraph-store-mongodb
- python314Packages.langgraph-runtime-inmem
- python314Packages.langgraph-store-mongodb
- python313Packages.langgraph-checkpoint-sqlite
- python314Packages.langgraph-checkpoint-sqlite
- python313Packages.langgraph-checkpoint-mongodb
- python314Packages.langgraph-checkpoint-mongodb
- python313Packages.langgraph-checkpoint-postgres
- python314Packages.langgraph-checkpoint-postgres
- @LeSuisse accepted
- @LeSuisse published on GitHub
LangGraph Checkpoint: Unsafe JSON deserialization in checkpoint loading
LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). In versions 4.1.0 and prior, the JsonPlusSerializer can reconstruct Python objects from JSON checkpoint payloads. Under conditions where someone could modify checkpoint bytes at rest in the backing store, the deserialization path could reconstruct objects beyond what the application expects, which could in turn result in code execution at checkpoint load time. This is a defense-in-depth issue. The affected behavior is reachable only when checkpoint bytes at rest in the backing store can be modified by an unauthorized party. In most deployments that prerequisite already implies a serious incident; the additional concern is turning "checkpoint-store write access" into code execution in the application runtime. This issue has been fixed in version 4.1.1.
References
Affected products
- ==< 1.2.2
- ==< 4.1.1
Matching in nixpkgs
pkgs.python313Packages.langgraph-checkpoint
Library with base interfaces for LangGraph checkpoint savers
Ignored packages (19)
pkgs.langgraph-cli
Official CLI for LangGraph API
pkgs.python313Packages.langgraph
Build resilient language agents as graphs
pkgs.python314Packages.langgraph
Build resilient language agents as graphs
pkgs.python313Packages.langgraph-cli
Official CLI for LangGraph API
pkgs.python313Packages.langgraph-sdk
SDK for interacting with the LangGraph Cloud REST API
pkgs.python314Packages.langgraph-cli
Official CLI for LangGraph API
pkgs.python314Packages.langgraph-sdk
SDK for interacting with the LangGraph Cloud REST API
pkgs.python313Packages.langgraph-prebuilt
Prebuilt agents add-on for Langgraph. Should always be bundled with langgraph
pkgs.python314Packages.langgraph-prebuilt
Prebuilt agents add-on for Langgraph. Should always be bundled with langgraph
pkgs.python313Packages.langgraph-runtime-inmem
Inmem implementation for the LangGraph API server
pkgs.python313Packages.langgraph-store-mongodb
Integrations between MongoDB, Atlas, LangChain, and LangGraph
pkgs.python314Packages.langgraph-runtime-inmem
Inmem implementation for the LangGraph API server
pkgs.python314Packages.langgraph-store-mongodb
Integrations between MongoDB, Atlas, LangChain, and LangGraph
pkgs.python313Packages.langgraph-checkpoint-sqlite
Library with a SQLite implementation of LangGraph checkpoint saver
pkgs.python314Packages.langgraph-checkpoint-sqlite
Library with a SQLite implementation of LangGraph checkpoint saver
pkgs.python313Packages.langgraph-checkpoint-mongodb
Integrations between MongoDB, Atlas, LangChain, and LangGraph
pkgs.python314Packages.langgraph-checkpoint-mongodb
Integrations between MongoDB, Atlas, LangChain, and LangGraph
pkgs.python313Packages.langgraph-checkpoint-postgres
Library with a Postgres implementation of LangGraph checkpoint saver
Package maintainers
-
@sarahec Sarah Clark <seclark@nextquestion.net>