Skip to content
Heist/ feed
Back to feed
Low

langchain-ai langgraph Task Result Cache _cache.py _freeze weak hash

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-14742
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 04:07 UTC · Revision 1

Source evidence

langchain-ai langgraph Task Result Cache _cache.py _freeze weak hash

core-osv · Original source

Published 5 Jul 2026, 10:45 UTC

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.

osv:CVE-2026-14742
Complete source record
{
  "id": "72ff210b46afb53c8638ec6f762c8b3d4edc12bc8386ec2587b94b3375a1941e",
  "url": "https://osv.dev/vulnerability/CVE-2026-14742",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "langchain-ai langgraph Task Result Cache _cache.py _freeze weak hash",
    "summary": "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.",
    "evidence": "osv:CVE-2026-14742",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-14742",
      "aliases": [
        "CVE-2026-14742"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/langchain-ai/langgraph",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3614e88c58af63f597764218646e85c49952b2da"
                },
                {
                  "last_affected": "054a6f3d8b48d022a4881af3ba3dc0ddc3ac0690"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.2.0"
                      },
                      {
                        "last_affected": "1.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.2.1"
                      },
                      {
                        "last_affected": "1.2.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.2.2"
                      },
                      {
                        "last_affected": "1.2.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.2.3"
                      },
                      {
                        "last_affected": "1.2.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.2.4"
                      },
                      {
                        "last_affected": "1.2.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.4"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.0",
            "1.2.1",
            "1.2.2",
            "1.2.3",
            "1.2.4",
            "sdk==0.4.2",
            "sdk==0.4.1",
            "sdk==0.4.0",
            "cli==0.4.27",
            "sdk==0.3.15",
            "checkpoint==4.1.1",
            "prebuilt==1.1.0",
            "checkpointsqlite==3.1.0",
            "checkpointpostgres==3.1.0",
            "checkpoint==4.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-14742.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.090111970Z",
      "provider": "osv",
      "references": [
        "https://github.com/langchain-ai/langgraph/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14742.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-14742",
        "https://vuldb.com/cve/CVE-2026-14742",
        "https://vuldb.com/submit/849217",
        "https://vuldb.com/vuln/376328",
        "https://github.com/langchain-ai/langgraph/issues/8009",
        "https://vuldb.com/vuln/376328/cti",
        "https://github.com/langchain-ai/langgraph/pull/8069"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-327",
          "CWE-328"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14742.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-14742",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500229,
  "published_at": "2026-07-05T10:45:09.243+00:00"
}