| Component | LangGraph, LangChain |
| Severity | low (CVSS 3.1) |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Published (NVD) | 2026-07-05 |
| Last modified | 2026-07-06 |
| Affected versions | <= 1.2.4 <= 1.2.4 read from the advisory text: NVD has not published CPE data yet |
| Fixed in | see the vendor advisory |
| Weakness | CWE-327CWE-328 |
| CISA KEV | not listed |
NVD description
A vulnerability was determined in langchain-ai langgraph up to 1.2.4. The affected element is the function _freeze of the file libs/langgraph/langgraph/_internal/_cache.py of the component Task Result Cache. This manipulation of the argument default_cache_key causes use of weak hash. The attack is possible to be carried out remotely. The complexity of an attack is rather high. The exploitability is described as difficult. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.
What to do
- NVD lists no fixed version yet: follow the vendor advisory below and keep LangGraph off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-14742
- https://github.com/langchain-ai/langgraph/
- https://github.com/langchain-ai/langgraph/issues/8009
- https://github.com/langchain-ai/langgraph/pull/8069
- https://vuldb.com/cve/CVE-2026-14742
- https://vuldb.com/submit/849217
- https://vuldb.com/vuln/376328
- https://vuldb.com/vuln/376328/cti
Other LangGraph CVEs
LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python application...
LangChain MongoDB provides integrations between MongoDB, Atlas, LangChain, and LangGraph. Prior to langgraph-checkpoint-mongodb 0.3.0 and la...
langgraph-api implements the LangGraph API for rapid development and testing. Prior to 0.10.0, langgraph-api permits a run or cron to specif...
langgraph-api implements the LangGraph API for rapid development and testing. Prior to 0.10.0, the langgraph-api run-creation path authorize...
LangGraph Checkpoint Postgres and SQLite Checkpoint are the Postgres and SQLite implementations of LangGraph's checkpoint saver. Prior to 3....
@langchain/langgraph-checkpoint-mongodb provides a LangGraph.js CheckpointSaver implementation that uses MongoDB for storage. Versions 1.3.0...