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 _freeze function in langgraph’s Task Result Cache includes a parameter called default_cache_key that can be manipulated to force the system to use a weak hash function. This increases the chance of hash collisions, enabling an attacker to overwrite or invalidate cached entries. The vulnerability aligns with CWE‑327 and CWE‑328. Because the default_cache_key is exposed remotely, the flaw can be leveraged from an external attacker.

Affected Systems

All installations of langgraph version 1.2.4 or earlier are affected. The defect resides in the libs/langgraph/langgraph/_internal/_cache.py file within the Task Result Cache component. Systems that expose the default_cache_key parameter remain vulnerable until an official fix is released.

Risk and Exploitability

The CVSS score of 2.3 indicates low severity, and the EPSS score of <1% suggests a very low probability of exploitation. The exploit is possible remotely but requires crafting inputs that trigger hash collisions, a task 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 monitoring and waiting for a patch.

Generated by OpenCVE AI on July 31, 2026 at 14:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Monitor langgraph’s releases for a patch that fixes the weak hash issue.
  • When a patch is released, upgrade langgraph to the version that includes the fix.
  • Until a patch is available, ensure that default_cache_key values are derived from trusted sources or are hashed using a collision‑resistant algorithm such as SHA‑256 to reduce collision risk.
  • If the Task Result Cache is not essential to your application, disable or remove the component to eliminate the vulnerable code path.

Generated by OpenCVE AI on July 31, 2026 at 14:35 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

Status : Deferred

Published: 2026-07-05T11:16:27.390

Modified: 2026-07-06T19:16:58.397

Link: CVE-2026-14742

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-14742 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T14:45:03Z

Weaknesses
  • CWE-327

    Use of a Broken or Risky Cryptographic Algorithm

  • CWE-328

    Use of Weak Hash