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.
Published: 2026-07-05
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the _freeze function of the Task Result Cache component of langgraph. By manipulating the default_cache_key argument, an attacker can induce use of a weak hash function, increasing the chance of hash collisions results, potentially allowing a malicious user to replace or invalidate cached data and disrupt application logic. The weakness is classified as CWE‑327 and CWE‑328, indicating compromised cryptographic algorithm and a one‑way hash lacking sufficient collision resistance.

Affected Systems

All installations of langgraph version 1.2.4 or earlier are affected. The issue is located in libs/langgraph/langgraph/_internal/_cache.py within the Task Result Cache component. Deployments that rely on the default_cache_key parameter remain vulnerable until an official fix is issued.

Risk and Exploitability

The CVSS score of 2.3 signifies low severity, and the EPSS score is below 1%, indicating a very low probability of exploitation. The vulnerability can be exploited remotely, but the attacker must craft inputs that trigger hash collisions, a task that is described as high complexity and difficult. The vulnerability is not listed in the CISA KEV catalog. Under these conditions, the immediate risk to systems remains modest, though the potential for cache manipulation warrants attention and monitoring.

Generated by OpenCVE AI on July 25, 2026 at 21:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Monitor for an official langgraph release that resolves the weak hash issue.
  • Until a fix is available, ensure that default_cache_key does not incorporate untrusted user input; instead generate cache keys using a collision‑resistant hash such as SHA‑256.
  • If the Task Result Cache is not essential to your application, consider disabling it or removing the component to eliminate the vulnerable code path.

Generated by OpenCVE AI on July 25, 2026 at 21:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Mon, 06 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 05 Jul 2026 11:00:00 +0000

Type Values Removed Values Added
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.
Title langchain-ai langgraph Task Result Cache _cache.py _freeze weak hash
First Time appeared Langchain-ai
Langchain-ai langgraph
Weaknesses CWE-327
CWE-328
CPEs cpe:2.3:a:langchain-ai:langgraph:*:*:*:*:*:*:*:*
Vendors & Products Langchain-ai
Langchain-ai langgraph
References
Metrics cvssV2_0

{'score': 2.1, 'vector': 'AV:N/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.1, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Langchain-ai Langgraph
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-06T17:59:43.776Z

Reserved: 2026-07-04T12:46:38.803Z

Link: CVE-2026-14742

cve-icon Vulnrichment

Updated: 2026-07-06T17:59:40.746Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-05T10:45:09Z

Links: CVE-2026-14742 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-25T21:15:03Z

Weaknesses
  • CWE-327

    Use of a Broken or Risky Cryptographic Algorithm

  • CWE-328

    Use of Weak Hash